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
Re: Error: Invalid UTF-8 sequence when reading txt file from hard disk [message #16674 is a reply to message #16656] Mon, 07 July 2008 11:38 Go to previous message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
alex100 wrote on Sat, 05 July 2008 14:57


If I try to display it using the Exclamation message box function it displays "ERROR: Invalid UTF-8 sequence".



The problem most likely is that UTF-8 is default encoding of QTF texts. If you submit a text without explicit encoding enforced via QTF commands, parser expects UTF-8.

Note that QTF encoding is different (has to be!) from default application encoding.

Mirek
 
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: Sat Jun 07 01:40:32 CEST 2025

Total time taken to generate the page: 0.04184 seconds