Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous message
alex100 is currently offline  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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How To Find/Replace on RichEditWithToolBar
Next Topic: Can we get OptionTree:ManualMode?
Goto Forum:
  


Current Time: Thu Jun 06 08:58:23 CEST 2024

Total time taken to generate the page: 0.01280 seconds