load textfile with special characters (äöü)

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

  1. bob

    bob Member Licensed User


    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

    deutsch.txt contains
    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?

  2. Erel

    Erel Administrator Staff Member Licensed User

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

    Now load it with:

  3. bob

    bob Member Licensed User

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

    thanks so much!

    a completely pleased customer
  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