List Info

Thread: chinese-gbk




chinese-gbk
country flaguser name
United States
2007-10-22 18:42:03
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/6
5432-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.)


_______________________________________________
Emacs-devel mailing list
Emacs-develgnu.org
htt
p://lists.gnu.org/mailman/listinfo/emacs-devel

Re: chinese-gbk
user name
2007-10-22 20:54:15
In article <b4mzlyaogxg.fsfjpl.org>, Katsumi
Yamaoka <yamaokajpl.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
handam17n.org


_______________________________________________
Emacs-devel mailing list
Emacs-develgnu.org
htt
p://lists.gnu.org/mailman/listinfo/emacs-devel

Re: chinese-gbk
country flaguser name
United States
2007-10-22 20:59:01
>>>>> Kenichi Handa wrote:
> In article <b4mzlyaogxg.fsfjpl.org>, Katsumi
Yamaoka <yamaokajpl.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.


_______________________________________________
Emacs-devel mailing list
Emacs-develgnu.org
htt
p://lists.gnu.org/mailman/listinfo/emacs-devel

Re: chinese-gbk
user name
2007-10-23 01:51:45
Kenichi Handa <handam17n.org> writes:

> In article <b4mzlyaogxg.fsfjpl.org>, Katsumi
Yamaoka <yamaokajpl.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.sour
ceforge.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.




_______________________________________________
Emacs-devel mailing list
Emacs-develgnu.org
htt
p://lists.gnu.org/mailman/listinfo/emacs-devel

Re: chinese-gbk
country flaguser name
United States
2007-10-23 03:38:59
>>>>> Zhang Wei wrote:
> Kenichi Handa <handam17n.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.sour
ceforge.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/6
5432-001.bin


_______________________________________________
Emacs-devel mailing list
Emacs-develgnu.org
htt
p://lists.gnu.org/mailman/listinfo/emacs-devel

Re: chinese-gbk
country flaguser name
United States
2007-10-23 03:55:31
>>>>> 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/6
5432-001.bin

Sorry, this seems to be an ephemeral url.  You can find it
in:

http://article.gmane.org/gmane.emacs.gnus.general/65432


_______________________________________________
Emacs-devel mailing list
Emacs-develgnu.org
htt
p://lists.gnu.org/mailman/listinfo/emacs-devel

[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )