02-26-07 06:13 PM
On Mon, 25 Feb 2007, jamiil wrote:
> I use files that have a multitude of languages, English, Arabic,
> German, French, Spanish to mention a few. The characters display well
> under KDE and GNOME, but after cutting and pasting some text from one
> file originating from the MS world and saving the new file in UTF-8
> format, konqueror, mozillah and the other browsers were unable to
> display certain characters. The missing characters are now replaced by
> little squares containing some other shapes inside. I am not sure if I
> need to apt-get some more fonts or if the browsers need to be
> reconfigure. Can anyone help?
It's probably a character-set problem. Non-ascii characters are
usually destroyed when a file that was saved in one character-set is
saved in a different character-set. Something similar may happen
when you do drag-and-drop.
If you're talking about text files (like html files) you may use
iconv to convert from the original charset to UTF-8. If you're
authoring a webpage make sure the character-set declaration in the
header matches the file's character-set. In html, the safest way is
to use escape sequences (like ä) for any non-ascii characters.
HTH,
Nik
[ Post a follow-up to this message ]
|