* chinese-gbk
@ 2007-10-22 23:42 Katsumi Yamaoka
2007-10-23 1:54 ` chinese-gbk Kenichi Handa
0 siblings, 1 reply; 6+ messages in thread
From: Katsumi Yamaoka @ 2007-10-22 23:42 UTC (permalink / raw)
To: emacs-devel; +Cc: ding
Hi (Handa-san? :-),
Is it possible to implement the `chinese-gbk' coding system (and
also the charset) to the EMACS_22_BASE branch (i.e., Emacs 22.2)?
I heard that some Chinese messages use the gbk charset which is
a superset of gb2312. A shar'd sample message is in:
http://article.gmane.org/gmane.emacs.gnus.general/65424
(To extract a message, save a sh script part to a file, do chmod +x,
and execute it.)
Currently Gnus makes gbk be an alias to cp936 if gbk is not
available. However, though I'm ignorant in Chinese, I can
observe it doesn't work like it does in the Emacs Unicode-2.
That is, gbk that is an alias to cp936 in Gnus is no more than
a workaround for preventing the `Unknown charset' error (if
there's no additional means to provide gbk, like [1]). Maybe to
support gbk becomes indispensable like windows-1252 for Latin-1.
Regards,
[1] http://cache.gmane.org//gmane/emacs/gnus/general/65432-001.bin
(Another package, named `mule-gbk', is also available but it
requires cns11643.*-5,6,7 fonts, which in the intlfonts package
seem to be incomplete.)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: chinese-gbk
2007-10-22 23:42 chinese-gbk Katsumi Yamaoka
@ 2007-10-23 1:54 ` Kenichi Handa
2007-10-23 1:59 ` chinese-gbk Katsumi Yamaoka
2007-10-23 6:51 ` chinese-gbk Zhang Wei
0 siblings, 2 replies; 6+ messages in thread
From: Kenichi Handa @ 2007-10-23 1:54 UTC (permalink / raw)
To: Katsumi Yamaoka; +Cc: ding, emacs-devel
In article <b4mzlyaogxg.fsf@jpl.org>, Katsumi Yamaoka <yamaoka@jpl.org> writes:
> Is it possible to implement the `chinese-gbk' coding system (and
> also the charset) to the EMACS_22_BASE branch (i.e., Emacs 22.2)?
The coding system is possible by mapping characters into
various existing CJ characters if we can ignore rarely used
few handreds characters. The code will be something like
the support of utf-8.
But, Emacs 22 does't have a room to to make a charset for
GBK.
---
Kenichi Handa
handa@m17n.org
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: chinese-gbk
2007-10-23 1:54 ` chinese-gbk Kenichi Handa
@ 2007-10-23 1:59 ` Katsumi Yamaoka
2007-10-23 6:51 ` chinese-gbk Zhang Wei
1 sibling, 0 replies; 6+ messages in thread
From: Katsumi Yamaoka @ 2007-10-23 1:59 UTC (permalink / raw)
To: Kenichi Handa; +Cc: ding, emacs-devel
>>>>> Kenichi Handa wrote:
> In article <b4mzlyaogxg.fsf@jpl.org>, Katsumi Yamaoka <yamaoka@jpl.org> writes:
>> Is it possible to implement the `chinese-gbk' coding system (and
>> also the charset) to the EMACS_22_BASE branch (i.e., Emacs 22.2)?
> The coding system is possible by mapping characters into
> various existing CJ characters if we can ignore rarely used
> few handreds characters. The code will be something like
> the support of utf-8.
> But, Emacs 22 does't have a room to to make a charset for
> GBK.
Oops. I wasn't aware of it. Thanks.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: chinese-gbk
2007-10-23 1:54 ` chinese-gbk Kenichi Handa
2007-10-23 1:59 ` chinese-gbk Katsumi Yamaoka
@ 2007-10-23 6:51 ` Zhang Wei
2007-10-23 8:38 ` chinese-gbk Katsumi Yamaoka
1 sibling, 1 reply; 6+ messages in thread
From: Zhang Wei @ 2007-10-23 6:51 UTC (permalink / raw)
To: Kenichi Handa; +Cc: Katsumi Yamaoka, ding, emacs-devel
Kenichi Handa <handa@m17n.org> writes:
> In article <b4mzlyaogxg.fsf@jpl.org>, Katsumi Yamaoka <yamaoka@jpl.org> writes:
>
>> Is it possible to implement the `chinese-gbk' coding system (and
>> also the charset) to the EMACS_22_BASE branch (i.e., Emacs 22.2)?
>
> The coding system is possible by mapping characters into
> various existing CJ characters if we can ignore rarely used
> few handreds characters. The code will be something like
> the support of utf-8.
>
> But, Emacs 22 does't have a room to to make a charset for
> GBK.
Su Yong and Zan Jian wrote a package named `mule-gbk' which implement
the GBK coding system, for more infomation:
http://mule-gbk.sourceforge.net/
because there's no room for GBK charsets (3 Leading Bytes at least),
mule-gbk occupied the leading bytes of Chinese-CNS-5, Chinese-CNS-6
and Chinese-CNS-7 charsets, these charsets are rarely used.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: chinese-gbk
2007-10-23 6:51 ` chinese-gbk Zhang Wei
@ 2007-10-23 8:38 ` Katsumi Yamaoka
2007-10-23 8:55 ` chinese-gbk Katsumi Yamaoka
0 siblings, 1 reply; 6+ messages in thread
From: Katsumi Yamaoka @ 2007-10-23 8:38 UTC (permalink / raw)
To: Zhang Wei; +Cc: emacs-devel, ding, Kenichi Handa
>>>>> Zhang Wei wrote:
> Kenichi Handa <handa@m17n.org> writes:
>> But, Emacs 22 does't have a room to to make a charset for
>> GBK.
> Su Yong and Zan Jian wrote a package named `mule-gbk' which implement
> the GBK coding system, for more infomation:
> http://mule-gbk.sourceforge.net/
> because there's no room for GBK charsets (3 Leading Bytes at least),
> mule-gbk occupied the leading bytes of Chinese-CNS-5, Chinese-CNS-6
> and Chinese-CNS-7 charsets, these charsets are rarely used.
I have the mule-gbk package installed. However, it displays GBK
text as all boxes. Maybe I have to use GBK fonts instead of CNS-
5, 6, 7 fonts. Though I've never found the GBK fonts for free
in the net. OTOH, the utf-8 way that uses existing fonts is
very good (mule5-gbk.el[1], alias junk, works this way).
[1] http://cache.gmane.org//gmane/emacs/gnus/general/65432-001.bin
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: chinese-gbk
2007-10-23 8:38 ` chinese-gbk Katsumi Yamaoka
@ 2007-10-23 8:55 ` Katsumi Yamaoka
0 siblings, 0 replies; 6+ messages in thread
From: Katsumi Yamaoka @ 2007-10-23 8:55 UTC (permalink / raw)
To: Zhang Wei; +Cc: Kenichi Handa, ding, emacs-devel
>>>>> Katsumi Yamaoka wrote:
> OTOH, the utf-8 way that uses existing fonts is very good
> (mule5-gbk.el[1], alias junk, works this way).
> [1] http://cache.gmane.org//gmane/emacs/gnus/general/65432-001.bin
Sorry, this seems to be an ephemeral url. You can find it in:
http://article.gmane.org/gmane.emacs.gnus.general/65432
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-10-23 8:55 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-22 23:42 chinese-gbk Katsumi Yamaoka
2007-10-23 1:54 ` chinese-gbk Kenichi Handa
2007-10-23 1:59 ` chinese-gbk Katsumi Yamaoka
2007-10-23 6:51 ` chinese-gbk Zhang Wei
2007-10-23 8:38 ` chinese-gbk Katsumi Yamaoka
2007-10-23 8:55 ` chinese-gbk Katsumi Yamaoka
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.