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 » RichText,QTF,RTF... » Qtf and non UTF8 strings
Re: Qtf and non UTF8 strings [message #45253 is a reply to message #45251] Mon, 19 October 2015 13:08 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
koldo wrote on Mon, 19 October 2015 08:31
Quote:
Anyway, this is perhaps possible. Still, I would say error should be displayed....
Probably the final user wants to read a string as clear as possible, and s/he does not know about UTF8 or internal character codifications that are more devoted to programmer and debugging.
Anyway if it is necessary to have this UTF8 message, I would ask for a function to convert a string to a fully readable one so it would be as complete as possible for an end user.


User does not now about UTF8, but programmer does. IMO is it programmer's error to put non-UTF8 into QTF, something that should be fixed. Hence the error to alert the programmer.

Still, maybe I am missing context. Where that non-UTF8 string came from?

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: FindReplaceTool with right mouse click
Next Topic: Only one RichEdit on one Form possible?
Goto Forum:
  


Current Time: Sun Apr 28 20:24:53 CEST 2024

Total time taken to generate the page: 0.03131 seconds