Patch: Fix emitting BOM in wchar.c

Ed W lists at wildgooses.com
Sun Oct 30 21:07:10 UTC 2011


Attached patch fixes a problem with wide character handling. Currently
it is incorrectly emitting byte order marks (not entirely correct ones
either) for random choice of characterset names.  The current code uses
the same function to find codesets as it code for charactersets - the
subsequent logic didn't handle characterset name as input (rather than
code name)

Commit:

Fix incorrect output of BOM when converting charactersets by name. Only
affective when iconv/locale enabled.

Signed-off-by: Ed Wildgoose (lists at wildgooses.com)




-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: uclibc-bom.patch
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20111030/76a7f760/attachment.ksh>


More information about the uClibc mailing list