Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Counting hiragana in EUC



>> Date: Sun, 4 Feb 2001 13:15:50 +0000
>> From: Simon Cozens <simon@example.com>
>> 
>> Suppose I have some all-hiragana EUC text. To count the number of
>> characters, would it suffice to divide the byte count by two?

Yes, once you allow for any single-byte punctuation, plus the LFs if you
are considering a file.

Jim
-- 
Jim Breen  [jwb@example.com  http://www.csse.monash.edu.au/~jwb/]
Visiting Professor, Institute for the Study of Languages and Cultures of 
Asia and Africa, Tokyo University of Foreign Studies, Japan
+81 3 5974 3880         [$B%8%`!&%V%j!<%s(B@$BEl5~30Bg(B]


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links