[Lazarus] Debugging fixed strings in UTF8 encoding

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Apr 1 11:53:11 CEST 2013


On Mon, 01 Apr 2013 10:13:22 +0100
Martin <lazarus at mfriebe.de> wrote:

>[...]
> It could do a heuristic, checking if the result has such invalid chars, 
> and if there is one then do all as #123. But an ascii sting may be a 
> valid utf8 string sometimes, yet the utf8 would map to entirely 
> different chars. In this case the heuristic would show a utf8 without 
> warning that the content is wrong (well it already does/would do)

How likely is this case?

Mattias




More information about the Lazarus mailing list