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 2010/02/14 11:32:55 UTC

DO NOT REPLY [Bug 48740] New: CP932 conversion table is different from that of Windows.

https://issues.apache.org/bugzilla/show_bug.cgi?id=48740

           Summary: CP932 conversion table is different from that of
                    Windows.
           Product: APR
           Version: 1.2.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: APR-iconv
        AssignedTo: bugs@apr.apache.org
        ReportedBy: ganaware+issues.apache.org@gmail.com


Created an attachment (id=24981)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24981)
apr-iconv-1.2.1-cp932-patch.txt

CP932 conversion table of apr-iconv-1.2.1 is different from that of Windows.

My patch (apr-iconv-1.2.1-cp932-patch.txt) corrects the problem.

My another patch (apr-iconv-1.2.1-cp932-patch2.txt) also corrects the problem,
and add some conversions to be compatible with Java and glibc.

The cp932_roundtrip.html in cp932_roundtrip.tgz describes what
conversions are different from Windows'.
(And it also describes conversion tables of other libraries and languages)

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

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


DO NOT REPLY [Bug 48740] CP932 conversion table is different from that of Windows.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48740

--- Comment #4 from Wim Lewis <wi...@omnigroup.com> 2011-08-18 07:05:10 UTC ---
This seems like work which should be incorporated into apr-iconv, but it is
confusing since the extensions to cp932 are not mentioned in either Microsoft's
or Unicode.org's descriptions of cp932. Microsoft has a long history of calling
different character sets by the same name, though. Is there an unambiguous name
for this extension of the old cp932?

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

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


DO NOT REPLY [Bug 48740] CP932 conversion table is different from that of Windows.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48740

--- Comment #2 from Nayuta Taga <ga...@gmail.com> 2010-02-14 10:43:31 UTC ---
Created an attachment (id=24983)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24983)
cp932_roundtrip.tar.bz2

cp932_roundtrip.tgz is too large for this bugzilla,
so I compressed it again by bzip2, and renamed.

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

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


DO NOT REPLY [Bug 48740] CP932 conversion table is different from that of Windows.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48740

--- Comment #3 from Nayuta Taga <ga...@gmail.com> 2010-02-20 03:12:36 UTC ---
Is there anyone who is interested in this problem?

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

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


DO NOT REPLY [Bug 48740] CP932 conversion table is different from that of Windows.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48740

--- Comment #1 from Nayuta Taga <ga...@gmail.com> 2010-02-14 10:33:41 UTC ---
Created an attachment (id=24982)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24982)
apr-iconv-1.2.1-cp932-patch2.txt

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

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


DO NOT REPLY [Bug 48740] CP932 conversion table is different from that of Windows.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48740

--- Comment #5 from Nayuta Taga <ga...@gmail.com> 2011-08-19 16:13:09 UTC ---
What does "the extensions to cp932" mean ?
(apr-iconv-1.2.1-cp932-patch.txt or apr-iconv-1.2.1-cp932-patch2.txt ?)

Does "the old cp932" mean the current imprementation of apr-iconv ?

----

apr-iconv-1.2.1-cp932-patch.txt is as same as The Windows' table.

The Unicode.org's CP932-to-Unicode table is
http://unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP932.TXT .
It is almost as same as the Windows' table.
(0x80 and characters in the private use area are only in Windows' table)

The Unicode.org's Unicode-to-CP932 table is the reverse of CP932.TXT.
But some characters' Unicode-to-CP932 mappings are ambiguous.
To remove the ambiguity,
consider http://support.microsoft.com/default.aspx?scid=kb;en-us;Q170559 .
After remove the ambiguity, we get an Unicode-to-CP932 table.
It is almost as same as the Windows' table.
(U+0080 and characters in the private use area are only in Windows' table)

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

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


DO NOT REPLY [Bug 48740] CP932 conversion table is different from that of Windows.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48740

Nayuta Taga <ga...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #24981|0                           |1
           is patch|                            |

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

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