Hello Lazarus-List, Wednesday, March 3, 2010, 2:05:48 PM, you wrote:
RH> Hi, JoshyFun RH> Thanks for pointing out the bug in my coding, yes you are right. I forgot to RH> put some checking before every inc(i,k) and continue; there should a RH> judgement statement *if i>>length(UnknownStr) then exit(false);* You can check the UTF8ToUnicode function in FPC sources located at: rtl\inc\wstrings.inc -- Best regards, JoshyFun -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
