[fpc-devel] Unicodestring branch, please test and help fixing

Martin Schreiber fpmse at bluewin.ch
Sun Sep 7 08:30:55 CEST 2008


On Saturday 06 September 2008 21.08:50 Florian Klaempfl wrote:
> Martin Schreiber schrieb:
>
> > Next problem is that pmsechar(msestring) returns a NIL pointer if
> > msestring = ''. As designed? The behaviour of ansistring and widestring
> > was very useful, I'd like if UnicodeString would behave the same.
>
> Do you have some example code which shows this?

See attachment.
Test result:
"
F:\proj\testcase\fpc\unicode\punicodechar>punicodechartest.exe
4288048
4288048
0
0
0
An unhandled exception occurred at $004016C5 :
EAccessViolation : Access violation
  $004016C5  main,  line 25 of punicodechartest.pas
"
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: punicodechartest.pas
Type: text/x-pascal
Size: 597 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20080907/27505793/attachment.pas>


More information about the fpc-devel mailing list