infratec wrote:1. It is a lot of more work
Not much after you got used to it. Actually, I'm quite shocked that an old-timer like "infratec"
is still using ASCII mode. OK, maybe 'old' is the buzzword. Stuck in 20th century.
Many PB users already use UNICODE mode exclusively and got used to the style that is required
when using old ASCII-only interfaces.
infratec wrote:2. You have everywhere to use PeekS()
3. You have to modify all structures from a .s{x} to a.[x]
so you can not see anymore if there is a text behind or 'only' bytes
4. Comparissons are really ugly.
Not if you connect to modern libraries and APIs that support UNICODE directly.
The conversion is only required if you connect to old-style, last-century libs,
that don't support UNICODE.
The big advantage is, you can now write programs for the whole world (7+ billion people),
and you are not limited to your small local world anymore.
Seriously, infratec:
I set UNICODE mode as Default years ago, and it is really not a big problem to get used to it.
Of course I made some mistakes at the beginning of the transition, but it really wasn't a big problem.
Writing PB libs/includes for customers, I check that everything is working with ASCII and UNICODE mode,
and it just works most of the time... because I got used to it already years ago.
To be honest, if you code ASCII and 32bit only, you are late already. Today everything is about ASCII vs. UNICODE,
and 32bit vs. 64bit. If you are still stuck in 32bit ASCII world, it is your own fault. Seriously, UNICODE is as important
as supporting 64bit mode. That's called progress.