U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » RichText,QTF,RTF... » Qtf and non UTF8 strings
Re: Qtf and non UTF8 strings [message #45302 is a reply to message #45256] Thu, 29 October 2015 11:01 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3460
Registered: August 2008
Senior Veteran
Hello Mirek

Problem found. Simplest code:
Exclamation("00.-Qu├® es.pdf");
Exclamation(ToSystemCharset("00.-Qu├® es.pdf"));     // "Invalid UTF-8 sequence"
ToSystemCharset() is used as the program takes the file to compress it with 7z using Sys("7z.exe " + ToSystemCharset(fileName)).

Now in case of error the program would show in Exclamation() fileName instead of ToSystemCharset(fileName).

Thank you.


Best regards
Iñaki
 
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: Thu Jul 16 18:15:29 GMT+2 2026

Total time taken to generate the page: 0.00975 seconds