apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39895] - apr_os_strerror on WinCE needs to xlate unicode->utf8
Date Fri, 01 Jun 2007 17:40:07 GMT
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=39895>.
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=39895


wrowe@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
           Priority|P2                          |P3
            Summary|apr_os_strerror fails on    |apr_os_strerror on WinCE
                   |WinCE (or when _UNICODE is  |needs to xlate unicode->utf8
                   |set)                        |




------- Additional Comments From wrowe@apache.org  2007-06-01 10:40 -------
(In reply to comment #7)
> The issue that apr_strerror may not return a UTF-8 encoded message is not a
> WinCE specific issue and I've really tried to make no change to behavior on
> other platforms in the WinCE patches.  

Hold on .. why do you make that assumption?  What is the issue with returing
a UTF-8 message?  The issue is that utf8 can be reasonably rendered in an ascii
derived character set, and ONLY utf8 will represent the filename/symbol/entity
that is was substituted from the OS call with unicode args.

In any case, it won't fit, we can't rely on formatting this forwards or reverse
into utf-8 since utf-8 is variably sized smaller or longer than the original
bytestream, so my thought is that only TLS store would help us here.  Since I'm
not hacking that in today - I've deployed your 'ascii only' flavor in trunk
for the moment, which is better than nothing.

If both TLS and proper string handling is deployed, I'll be all for bumping
this back to 1.2/0.9, so note the initial patch to trunk is r543549.

-- 
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


Mime
View raw message