Op maandag 22-12-2008 om 10:08 uur [tijdzone +0100], schreef Jürgen
Hestermann:
> 
> 99% of my problems with this issue would have been avoided if not the
> whole string is dropped in case that a string is not conform to
> UFT-8. That doesn't make any sense. If it's such an error why not
> raise 
> an exception instead of silently doing nothing? But it would be
> better 
> to just drop malformed characters but not the whole string so a user 
> would immediately see that something is wrong with the coding.

iirc it's windows that does this. If the winapi encounters characters in
a string for a messagebox it doesn't understand, it drops the whole
string. There's nothing Lazarus can do about it.

Joost

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to