Jump to content
Sign in to follow this  
Andrzej

WideStringList and old and new Delphi

Recommended Posts

What is best way to do following:

I need of list of Unicode strings for my Json5 parser. In new Delphi from 2009 i can use Tstringlist and load ,save to stream automatic convert between utf8 and utf16le.

For old Delphi I must create WideStringList and convert between utf8 and utf16.

Next I must conditionally define JsonStringList as Tstringlist and TwideStringList?

Share this post


Link to post

I think, no need stringlist, rather parsing strings, parse widestring,utf8string,unicode and utf8 files.

Share this post


Link to post

Old Delphi probably dont have stringbuilder and operations like stringlify would be slow..

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×