FileWrite with Danish letters æøå

Discussion in 'Questions (Windows Mobile)' started by Lasse, May 17, 2007.

  1. Lasse

    Lasse Member Licensed User

    Hi,

    I'm trying:

    FileOpen(c1,"test.txt",cWrite,,cASCII)
    Filewrite(c1,"ÆØÅ æøå")
    Filewrite(c1,string)

    But the file is written with ??? ??? instead.

    If I have a string with æøå in it, it does not work either.

    When I load files with the Danish characters into e.g. a table it works fine.

    Hope someone can help me :sign0163:
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    You shouldn't use the cASCII flag (use the default UTF-8):
    FileOpen(c1,"test.txt",cWrite)
    Filewrite(c1,"ÆØÅ æøå")
    Filewrite(c1,string)
     
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