Issues with accented letters

Hey guys

I am working on a program that reads French data in a tabulated text file and displays it on screen. Since it is in French, it is filled with accented letters (…). The software parses the file in a 2d array. The file was originally created in Excel. The problem is this:

  • when I open the file in Notepad, I see all the accented letters.
  • when I import the file in RealBasic, the accented letters are replaced with a black losange

I tried changing the font with the same result… Any ideas?

Thanks

Rick

Use DefineEncoding to set the string’s encoding after you read it from the file.

Hey Tim

I tried it with SystemDefault and it seems to be working…

Thanks

Rick