load textfile with special characters (äöü)

Discussion in 'Questions (Windows Mobile)' started by bob, Nov 19, 2007.

  1. bob

    bob Member Licensed User

    hi,

    I searched the forum, but unfortunately didn't find a solution for this.

    I have to import a textfile (written with notepad) that contains German characters (Umlaute like ä,ö,ü). No matter how I try to read the text, either with

    FileOpen(f1,"deutsch.txt",cread) or
    FileOpen(f1,"deutsch.txt",cread,,cascii)

    deutsch.txt contains
    ...
    Kugeln/Aufnahme
    Höchstes Break
    ...

    I always get an empty box or a question mark (with cascii) instead of the character 'ö'. Is there a possibility to define a codepage prior to the import or is any other solution for this?

    tia!!
    Robert
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Load your file with Notepad.
    Choose Save As - Encoding - UTF8.

    Now load it with:

    FileOpen(f1,"deutsch.txt",cread)
     
  3. bob

    bob Member Licensed User

    unbelievable.... a (working) answer in a couple of minutes

    thanks so much!

    a completely pleased customer
    robert
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice