Opened 4 years ago

Last modified 4 years ago

#1284 new enhancement

cp932 non-round-trip mapping workaround

Reported by: uchida Owned by:
Priority: normal Milestone:
Component: other Version: unspecific
Keywords: Cc:

Description

It would be very helpful if you could change ccl::*cp932-to-ucs-map*/ccl::*cp932-to-ucs-hash* to incorporate a workaround described here. https://support.microsoft.com/en-us/kb/170559/en-us

CL-USER> (encode-string-to-octets "№あいう" :external-format :cp932)
#(250 89 130 160 130 162 130 164)
8
CL-USER> (load "cp932-workaround.lisp")
#P"c:/lispbox-0.7/cp932-workaround.lisp"
CL-USER> (encode-string-to-octets "№あいう" :external-format :cp932)
#(135 130 130 160 130 162 130 164)
8
CL-USER> (lisp-implementation-version)
"Version 1.10-r16196  (WindowsX8632)"
CL-USER> 

Attachments (2)

cp932-workaround.2.lisp (22.4 KB) - added by uchida 4 years ago.
cp932-workaround.lisp (23.1 KB) - added by uchida 4 years ago.

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by uchida

comment:1 Changed 4 years ago by uchida

Please delete the earlier because uploaded the wrong cp932-workaround.lisp.

Changed 4 years ago by uchida

Note: See TracTickets for help on using tickets.