Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2019-02

StrUtils unit needs Widestring funcs

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

AlexeyT

According to one of new issues, StrUtils misses many funcs for UnicodeString: RPos, RPosEx.... Maybe someone here can help to write. (In CudaText project I had a bug, when i used RPos on Russian text and got too big result).

Regards, Alexey
Michael Van Canneyt
to AlexeyT

I intend to copy it to ustrutils, which will be compiled with widestrings. Copying all routines to handle ansi/wide string is no solution.

Michael.

AlexeyT wrote 12 lines
According to one of new issues, StrUtils misses many funcs for UnicodeString: RPos, RPosEx.... Maybe someone here can help to write. (In CudaText project I had a bug, when i used RPos on Russian text and got too big result). -- Regards, Alexey _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Sven Barth
to Michael Van Canneyt

Am Fr., 15. Feb. 2019, 18:54 hat Michael Van Canneyt geschrieben:

I intend to copy it to ustrutils, which will be compiled with widestrings. Copying all routines to handle ansi/wide string is no solution.

I hope you mean UnicodeString? The only platform where this is important is Windows, but there it is very important. 😁

Regards,
Sven

Michael Van Canneyt
to Sven Barth
Sven Barth wrote 10 lines
Am Fr., 15. Feb. 2019, 18:54 hat Michael Van Canneyt geschrieben: > > I intend to copy it to ustrutils, which will be compiled with widestrings. > Copying all routines to handle ansi/wide string is no solution. > I hope you mean UnicodeString? The only platform where this is important is Windows, but there it is very important. 😁

Yes, of course :)

Michael.