Results 1 to 10 of 10

Thread: Character encoding

  1. #1

    Question Character encoding

    Hello!

    I often switch between windows and linux and want to edit files, I edited under windows just before. The problem is: When I open textfiles saved by a windows based program, i can't load it completely in linux. Some charakters like , , , etc. are not displayed an replaced by a questionmark.

    Can somebody help me?

    emes2k

  2. #2
    Join Date
    Jun 2008
    Location
    ITALY-Pavia / somewhere in the world
    Posts
    57

    Default Re: Character encoding

    i have the same problem,one of my friends told me that there's an extension for mathematical symbols and foreign letters but i can't find it,or better i haven't still understood if it exists or not.

  3. #3
    Join Date
    Jun 2008
    Location
    West Yorkshire, UK
    Posts
    3,443

    Default Re: Character encoding

    A lot depends on the applications you are using in Windows and Linux. As I rule I find that OpenOffice correctly translates Western European accents in .doc files.

    If you aren't using .doc files, OpenOffice usually puts up a dialogue which allows you to select the encoding. So, for example, if you have .txt files from Windows, OpenOffice will usually ask you what encoding to use.

    You may need to experiment with other applications.

  4. #4

    Red face Re: Character encoding

    I used just simple .txt-document.

  5. #5

    Default Re: Character encoding

    In windows you might be using one encoding, like one of iso8859, while in Linux UTF-8.
    You'll need to change the encoding to get the right characters.
    It is abhorrent the spiritual greed of those that knowing something, do not seek the transfer of such knowledge.

    Miguel de Unamuno - Writer (1864-1936)

  6. #6

    Angry Re: Character encoding

    Yes, the problem seems to be, that windows uses windows-1252 codepage. I found a codepage named cp1252, that might be identical but it isn't . Firefox uses a codepage named windows-1252 and this works well, but the linux editors (like kile, kwrite, texmaker etc.) don't. Can I manually change the codepage?!?
    Or install a new one? Or do I have to change settings within windows applications ?

  7. #7

    Angry Re: Character encoding

    Emacs uses the right encoding!! Why not kile?!?

  8. #8
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: Character encoding

    Simple, don't use cp-1252. Use an international standard like utf-8 or iso8859-x.

  9. #9

    Red face Re: Character encoding

    Sorry for bugging you - my stupidity . Obviously I saved the test file while using the wrong encoding, then I always reopened the damaged file. Everything works well.

  10. #10

    Default Re: Character encoding

    Windows Notepad can read and save UTF-8 too. There is no excuse not to use utf-8.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •