Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Error: Invalid UTF-8 sequence when reading txt file from hard disk
Error: Invalid UTF-8 sequence when reading txt file from hard disk [message #16656] |
Sat, 05 July 2008 20:57 |
alex100
Messages: 118 Registered: November 2007
|
Experienced Member |
|
|
Hi,
I am having troubles reading a text file from disk.
I created the txt file with windows XP (PT) notpad. Then, in a Upp I use the fopen and fgets to read file lines.
When I add the lines read to a ArrayCtrl I cant see the accents. If I try to display it using the Exclamation message box function it displays "ERROR: Invalid UTF-8 sequence".
Any doc to read about how U++ handles different char sets?
Any help would be appreciated.
Thank you,
Alex
Env:Win XP (PT), U++ 2007.1
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Fri Apr 19 00:23:34 CEST 2024
Total time taken to generate the page: 0.04347 seconds
|