Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: Counting hiragana in EUC
- To: tlug@example.com
- Subject: Re: Counting hiragana in EUC
- From: Andreas Marcel Riechert <riechert@example.com>
- Date: 04 Feb 2001 16:03:51 +0100
- cc: simon@example.com
- Content-Type: text/plain; charset=us-ascii
- In-Reply-To: Simon Cozens's message of "Sun, 4 Feb 2001 13:15:50 +0000"
- References: <20010204131550.A22942@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <kAMcBC.A.TLF.YzWf6@example.com>
- Resent-Sender: tlug-request@example.com
- Sender: riechert@example.com
- User-Agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7
Simon Cozens <simon@example.com> writes: > 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 I think that would work for euc-jp all-hiragana strings. But can you trust your incoming data?... Assuming, you got allready rid of the line-endings, there could be some one-byte punctation or whitespace in your data. Yes with a "just-only-hiragana-euc-jp-text" it should work, but I wonder wether there is a real world situation, where you could use such a routine. Still working on the Input-methods? HTH Andreas Marcel Riechert
- Follow-Ups:
- Re: Counting hiragana in EUC
- From: Simon Cozens <simon@example.com>
- References:
- Counting hiragana in EUC
- From: Simon Cozens <simon@example.com>
Home | Main Index | Thread Index
- Prev by Date: Counting hiragana in EUC
- Next by Date: Re: Counting hiragana in EUC
- Prev by thread: Counting hiragana in EUC
- Next by thread: Re: Counting hiragana in EUC
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links