Forgive my ignorance of these multi-lingual matters: If I'm making HTML corrections to a non-English template, what do I need to do to ensure that accented or non-english characters are re-saved correctly? -- Owen
Hi, In article <200311102219.hAAMJRM07452@alma.athenscounty.lib.oh.us> you write:
Forgive my ignorance of these multi-lingual matters: If I'm making HTML corrections to a non-English template, what do I need to do to ensure that accented or non-english characters are re-saved correctly?
If your editor does not touch the encoding at all (e.g., plain non-multilingual vi) and does not word-wrap automatically, the accented characters should be safe. However, if your editor somehow interprets the characters (e.g., if it uses Unicode internally, and then re-encodes the file when you save it -- probably all the new graphical editors), you'll need to ensure that the editor uses the correct character set. If there is a "meta" line with a charset in the HTML, that would be the correct character set you should use; otherwise, there might be an included file with the "meta" tag. If you can't find the "meta" tag, then it's iso-8859-1 (not utf-8). I find that doing a diff between the old and new versions is helpful in such cases. The diff should only show what is corrected; if anything else shows up, then something is wrong. If you have the "wdiff" command installed, "wdiff" output is even more useful as an additional check, though it's much less readable than "diff" output. -- Ambrose LI Cheuk-Wing <a.c.li@ieee.org> http://ada.dhs.org/~acli/
On 2003-11-10 23:44:17 +0000 Ambrose LI <acli@ada.dhs.org> wrote:
can't find the "meta" tag, then it's iso-8859-1 (not utf-8).
Shouldn't we be utf-8 throughout now? -- MJR/slef My Opinion Only and possibly not of any group I know. Please http://remember.to/edit_messages on lists to be sure I read http://mjr.towers.org.uk/ gopher://g.towers.org.uk/ slef@jabber.at Creative copyleft computing services via http://www.ttllp.co.uk/
participants (3)
-
Ambrose LI -
MJ Ray -
Owen Leonard