Feature #4066
closedEncoding GBK needs update
Description
=begin
When GBK was released in 1995, it included 95 characters were not included in Unicode 1.1. Until now (Windows 7), these characters were still assigned Unicode PUA code points in CP936.
GBK isn't an official standard, so I think it won't be updated anymore. But GB18030 is official, and the subset consisting of one-byte and two-byte characters is sometimes also referred to as GBK. In GB18030-2005, 81 characters were assigned to PUA, are now defined in Unicode.
(Reference: http://en.wikipedia.org/wiki/GBK#History)
Actually, the remaining 14 characters are now defined in Unicode, too. Please take a look at gbk_fe05.gif, light grey and light yellow ones.
These 95 characters are all defined in Unicode now (see gbk_mod.htm), so I think we should add these characters to gbk-tbl.rb. It won't cause any compatibility issue, at least in Ruby side.
=end
Files
Updated by shyouhei (Shyouhei Urabe) almost 14 years ago
- Category changed from test to M17N
- Status changed from Open to Assigned
- Assignee set to naruse (Yui NARUSE)
=begin
=end
Updated by naruse (Yui NARUSE) almost 14 years ago
=begin
I understand your point and it seems reasonable.
Anyway, is there any other implementation whose conversion table includes such characters?
=end
Updated by oCameLo (oCameLo oTnTh) almost 14 years ago
=begin
I just can find out only one mailing list thread about this problem here: http://sources.redhat.com/ml/libc-alpha/2000-09/msg00394.html
For compatibility, we should accept this patch. But from the angle of standard, let it go.
Both ways are acceptable.
=end
Updated by naruse (Yui NARUSE) almost 14 years ago
=begin
(2010/11/19 20:12), oCameLo oTnTh wrote:
I just can find out only one mailing list thread about this problem
here: http://sources.redhat.com/ml/libc-alpha/2000-09/msg00394.htmlFor compatibility, we should accept this patch. But from the angle of
standard, let it go.
Ruby's mapping table should follow de facto or de jure standards.
In current situation, I should say the expectation for compatibility is
wrong. (you may know, Euro sign is also incompatible).
So until other implementation like converters, editors, or web browsers
supports such table, ruby won't support them.
--
NARUSE, Yui naruse@airemix.jp
=end
Updated by naruse (Yui NARUSE) almost 14 years ago
- Status changed from Assigned to Rejected
=begin
=end