Re: D2008 - VCL Makeover details?



Remy Lebeau (TeamB) wrote:
<snip>
Many of the core VCL classes, like TStrings, are being updated to support new TEncoding parameters so you can specify what format to use when loading/saving data (Ascii, UTF-7, UTF-8, Unicode, etc).


I think a better solution would've been to create new string list classes
to work with the new string types.
This way you can easily support the old
and new.
I can't stress enough that it would've given
programmers more freedom of choice too.


.



Relevant Pages

  • Re: Format of string output of a socket server
    ... ASCII is the same no matter what byte encoding is used. ... By definition any ASCII string is in UTF-8 encoding. ... The client program can then convert to Unicode or whatever they see fit? ... I am writing a socket server to deliver telephony events to clients on ...
    (microsoft.public.win32.programmer.networks)
  • Re: Zeichenkodierung in der shell
    ... Erfinder zu benutzen - statt sie zu vergewaltigen - werden in der ... auf 8 Bit durch UTF-8? ... dass mit Unicode (egal welcher ... an bestimmten Stellen einfach ASCII _vorgeschrieben_ ist, ...
    (de.comp.os.unix.linux.misc)
  • Re: utf7 encoding
    ... UTF-8 to UNICODE before converting to UTF-7? ... The 16 bit character set Unicode is defined by "The Unicode ...
    (comp.mail.imap)
  • Re: Representing futuristic English
    ... > If I load up an ascii file in a unicode editor, ... > UTF-8, it guesses UTF-8, which is incorrect, but close ... > at once *guess* the ascii encoding, ...
    (rec.arts.sf.composition)
  • Re: Representing futuristic English
    ... If I load up an ascii file in a unicode editor, ... UTF-8, it guesses UTF-8, which is incorrect, but close ...
    (rec.arts.sf.composition)