On 1/11/2010 03:36, Clayton wrote:
On 01/08/2010 02:17 AM, TJ Frazier wrote:
I'm trying to zero in on this. One problem I see is that with "first
preview" checked, I'm seeing occasional strange "black-diamond
question-mark" characters. But these go away if I change Ff's View>
Character Encoding from UTF-8 to Western (ISO-8859-1).
Question: what encoding should be used with the wiki?
[1] http://wiki.services.openoffice.org/wiki/Documentation/BASIC_Guide
Edit the first section ("About OpenOffice.org Basic"), and look at the
Note at the end. Funny character appears immediately after the VBA in
the note. If you enable first preview, and UTF-8.
I see the same character. I prodded this a bit, and for whatever
reason, the space between the A and the : is the problem, and it only
shows up in the Preview on first edit (with and without the Rich Editor
enabled). Maybe there is an encoding issue in the Webserver side? or in
the MediaWiki setup?
The only mention of UTF8 in the Wiki setup is the shell setting:
$wgShellLocale = "en_US.UTF-8";
which is only used (as far as I know) by ImageMagick (for thumbnailing
Wiki images etc).
For me, switching to/from UTF8 in my local Firefox settings has no
impact on the appearance of the ?... it's there regardless.
Now I'm seeing that, too. Let me poke at this some; there are so many
variable things involved, that I might have missed the essential combo,
but I swear I could (at some point) switch locally and see bad/good/bad/...
The character itself, according to my own little hex dump, is x'FFFD'
when it's bad, x'20' when good.
Hmmmm did some digging on this... this might be a deeper issue related
to the encoding on the database itself. I have a bad feeling that
something somewhere in the chain from database to MedaiWiki is set to
"latin1". if that's the case... fixing it is not a nice procedure.
C.
1) This is somehow related to template transcription (if that's the
proper name for the process), like the bad TOCs you saw.
2) Agree that /enabling/ or /disabling/ RE has no effect. When we did
that IRC-coordinated debugging, only /installing/ RE changed things. If
there's a bad setting, that suggests where to start looking ...
3) The other critical requirement (and other place to start looking) is
the user setting Preferences > Editing > Show preview on first edit.
With this checked, first and subsequent previews show bad; unchecked,
all show good. What does this do so differently?
--
/tj/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]