unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Lee Sau Dan <danlee@informatik.uni-freiburg.de>
Subject: Re: Chinese characters support
Date: 13 May 2003 09:40:15 +0200	[thread overview]
Message-ID: <m38ytb3od7.fsf@mika.informatik.uni-freiburg.de> (raw)
In-Reply-To: mailman.5927.1052587973.21513.help-gnu-emacs@gnu.org

>>>>> "Charles" == Charles Muller <acmuller@gol.com> writes:

    Charles> I know that, and I am not contesting that point. But
    Charles> again, the HELLO file is not a utf-8 file. 

I think you're being religious.  Why must it be utf-8?


    Charles> It is also not a form of JIS or other East Asian
    Charles> encoding,

It's  emacs-mule  encoding  ---   Emac's  own  representation  of  the
information about characters/encodings that it keeps.


    Charles>so the fact that one can display multilingual
    Charles> scripts by opening that file does not mean that they will
    Charles> be able to display them in Big5, JIS, or whatever.

If one can see  the Big5 text in that file, he  can see all other Big5
files.  If one  can see the Thai characters in that  file, he can also
see  the Thai  characters when  he  opens a  Thai text  file with  the
suitable     encoding    (the     default    if     he     has    done
set-language-environement correctly).  And so on.


    Charles> People who recommend checking this file are usually
    Charles> people who don't use double-byte East Asian languages.

Sorry, I  use Big5 very often.   And I do  recommend C-h h as  a quick
test to see if he has installed the big5 fonts correctly.  (Big5 fonts
do not come with XFree86, and many Linux distros has been ignoring the
"leim" and "intlfont" packages for years.)


    >> The file is in a relevant encoding: it's the encoding used by
    >> Emacs internally.  (Or rather, an encoding close to the
    >> internal encoding.)

    Charles> Relevant to whom?

To Emacs.


    Charles> It's not in utf-8, right?

So what?   My .signature is  in Big5 and  it is not in  utf-8, either.
And  my .emacs file  is in  emacs-mule encoding,  which is  not utf-8,
either.  Neither are utf-16 files utf-8.

I think  you're being religious  when you worship utf-8.   For Chinese
text, utf-8 wastes 50% of  storage space.  I'd rather use utf-16.  But
big5 has the  same storage efficiency (and more  when you include some
English text) and it is more common.



    Charles> No one that I know who works in XML or with East Asian
    Charles> international scripts works in utf-7,

And for XML in Chinese, utf-8  wastes lots of space.  To be practical,
we often use big5 for XML files with Chinese.


    Charles> so while that encoding format may be relevant for those
    Charles> who are programming Emacs internally, it is not relevant
    Charles> for anyone using Emacs to do multilingual XML or HTML
    Charles> publication, because no one uses it. That's what I mean
    Charles> when I say "not relevant."

My  experience with  Emac's utf-8  <--> internal  conversion  has been
good.



-- 
Lee Sau Dan                     李守敦(Big5)                    ~{@nJX6X~}(HZ) 

E-mail: danlee@informatik.uni-freiburg.de
Home page: http://www.informatik.uni-freiburg.de/~danlee

  parent reply	other threads:[~2003-05-13  7:40 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.5730.1052348993.21513.help-gnu-emacs@gnu.org>
2003-05-10 14:26 ` Chinese characters support Kai Großjohann
2003-05-10 16:17   ` Charles Muller
2003-05-10 16:45     ` Kai Großjohann
2003-05-10 17:31       ` Charles Muller
2003-05-10 18:43         ` Eli Zaretskii
2003-05-11  2:11           ` Charles Muller
2003-05-11  3:32             ` Eli Zaretskii
2003-05-11 13:59               ` Charles Muller
     [not found]               ` <mailman.5976.1052661651.21513.help-gnu-emacs@gnu.org>
2003-05-12 19:29                 ` Jason Rumney
2003-05-12 19:58                 ` Kai Großjohann
2003-05-13  7:40                 ` Lee Sau Dan
2003-05-13  9:57                   ` acmuller
2003-05-13 10:02                   ` Robin Hu
2003-05-15  8:07                     ` Lee Sau Dan
2003-05-10 19:24         ` Kai Großjohann
2003-05-11  2:15           ` Charles Muller
2003-05-11  3:34             ` Eli Zaretskii
     [not found]           ` <mailman.5956.1052619415.21513.help-gnu-emacs@gnu.org>
2003-05-12 19:56             ` Kai Großjohann
2003-05-13  3:36               ` Charles Muller
2003-05-14  3:14                 ` Eli Zaretskii
     [not found]               ` <mailman.6084.1052797097.21513.help-gnu-emacs@gnu.org>
2003-05-13  7:05                 ` Kai Großjohann
2003-05-14  6:14                 ` Lee Sau Dan
2003-05-14 16:27                   ` Kai Großjohann
2003-05-14 21:07                     ` Jason Rumney
     [not found]       ` <mailman.5927.1052587973.21513.help-gnu-emacs@gnu.org>
2003-05-12 19:27         ` Jason Rumney
2003-05-13  7:40         ` Lee Sau Dan [this message]
2003-05-13 10:11           ` acmuller
2003-05-13 10:54           ` Charles Muller
     [not found]           ` <mailman.6097.1052826249.21513.help-gnu-emacs@gnu.org>
2003-05-15  8:07             ` Lee Sau Dan
2003-05-10 17:58     ` Eli Zaretskii
     [not found]     ` <mailman.5936.1052589798.21513.help-gnu-emacs@gnu.org>
2003-05-13  7:40       ` Lee Sau Dan
2003-05-14  3:15         ` Eli Zaretskii
     [not found]         ` <mailman.6156.1052882447.21513.help-gnu-emacs@gnu.org>
2003-05-15  8:07           ` Lee Sau Dan
2003-05-16 11:36             ` Eli Zaretskii
2003-05-12 23:05   ` Michael Na Li
2003-05-13  7:02     ` Kai Großjohann
     [not found]   ` <mailman.5922.1052583563.21513.help-gnu-emacs@gnu.org>
2003-05-13  7:40     ` Lee Sau Dan
2003-05-07 23:08 Gaoyan Xie
2003-05-08  6:27 ` Charles Muller
     [not found] ` <mailman.5739.1052375326.21513.help-gnu-emacs@gnu.org>
2003-05-08  7:33   ` Robin Hu
2003-05-10 14:28   ` Kai Großjohann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m38ytb3od7.fsf@mika.informatik.uni-freiburg.de \
    --to=danlee@informatik.uni-freiburg.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).