gedit text display
Aart Koelewijn
aart at mtack.xs4all.nl
Thu Jan 28 11:48:27 UTC 2010
On Thu, 28 Jan 2010 18:52:20 +0900, Thomas Blasejewicz wrote:
> I am using Ubuntu 9.04, Japanese localized version. Using the text
> editor "gedit" I can write new text in the three languages I am using:
> English, German + Japanese.
> Displays fine.
>
> Yet, after transferring a text file (created with a text editor in
> Windows) either by copying the file
> via floppy or else sending it by mail, I get a lot of wrong characters.
> Not only do the Japanese character not display, but also something like
> quotation marks too are garbled.
>
> Is there anywhere a setting, where I can change text encoding to get the
> display right?
> Or is there any other trick?
>
> Thank you.
I suppose you use UTF-8 on your Ubuntu box and your Windws box uses some
other character encoding. With the (commandline) program "recode" you can
change the encoding of a file.
Use:"$ recode <old-encoding>..<new-encoding> <filename>
recode knows a lot of encodings, "$ man recode" will give you all details.
Aart
More information about the ubuntu-users
mailing list