[Expat-bugs] [ expat-Bugs-3611241 ] Turning off utf16 support

SourceForge.net noreply at sourceforge.net
Wed Apr 24 21:18:07 CEST 2013


Bugs item #3611241, was opened at 2013-04-17 16:24
Message generated for change (Comment added) made by csiki
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=3611241&group_id=10127

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: Feature Request
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: András Csikvári (csiki)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: Turning off utf16 support

Initial Comment:
It would be very nice if we could able to turn off the utf16 support for an even smaller code size in a future release.
Like XML_MIN_SIZE macro, we could define an XML_NO_UTF16 macro.
Thank you,
   András


----------------------------------------------------------------------

>Comment By: András Csikvári (csiki)
Date: 2013-04-24 12:18

Message:
Both.
Output: because of wchar_t size problems, its hard to use, and not
practical at all: the real "character" length still can be fewer than the
number of short ints, so the programmer does not win anything, if he want
to handle everything correctly.
Input: even if it's part of the standard, does not seems to be widely used
today (I don't think I would be able to find an utf16 xml on the web...)
The whole utf16 standard seems to me a dead end.

----------------------------------------------------------------------

Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2013-04-22 06:13

Message:
Are you referring to UTF-16 input, or output? 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=3611241&group_id=10127


More information about the Expat-bugs mailing list