You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2007/05/27 09:38:30 UTC

DO NOT REPLY [Bug 42526] New: - Add UTF-16BE and UTF-16LE as aliases for UTF-16

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42526>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42526

           Summary: Add UTF-16BE and UTF-16LE as aliases for UTF-16
           Product: APR
           Version: HEAD
          Platform: All
        OS/Version: other
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: APR-iconv
        AssignedTo: bugs@apr.apache.org
        ReportedBy: margol@beamartyr.net


iconv supports the explicit Big-Endian and explicit Little-Endian encodings of 
UTF-16.  I would imagine that the default utf-16 module in apr-iconv can tackle 
both, so it would be great if requests for an explicit endian-ness could be 
requested from apr-iconv

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


DO NOT REPLY [Bug 42526] - Add UTF-16BE and UTF-16LE as aliases for UTF-16

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42526>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42526





------- Additional Comments From margol@beamartyr.net  2007-05-27 00:46 -------
Created an attachment (id=20277)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20277&action=view)
Proposed fix for bug 42526


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


DO NOT REPLY [Bug 42526] - Add UTF-16BE and UTF-16LE as aliases for UTF-16

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42526>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42526


wrowe@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




------- Additional Comments From wrowe@apache.org  2007-05-30 12:38 -------
As I point out on list - simply aliasing these is invalid.

If we call for -be variants on a small endian platform, the byte order of the
unicode words must be transposed.

If we call for -le variants on a large endian platform, the byte order of the
unicode words must be transposed.

I presume your proposed fix does not do this?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


DO NOT REPLY [Bug 42526] - Add UTF-16BE and UTF-16LE as aliases for UTF-16

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42526>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42526


margol@beamartyr.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From margol@beamartyr.net  2007-05-30 13:08 -------
Paraphrasing my reply from dev@apr, I (naively) assumed that the lack of 
seperate BE and LE modules, that the existing utf-16 module could somehow 
handle both (otherwise how could we handle, for example, a BE client sending 
UTF-16 to an LE server).  Unfortunately, the implementation doesn't seem to do 
that, and just assumes an HSB encoding unless a BOM says otherwise.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org