Need help with NKF and encodings

From: Dave Thomas <dave@...>
Date: 2004-05-12 03:50:55 UTC
List: ruby-core #2865
Hello, folks.

I'm trying to show some examples of the nkf library, and I'm getting 
stuck.

I'd like to show something like:

    NKF.guess(".....")  -> 3

but I'm not sure what to put for the "....".  If I just put printable 
characters (like まつもとゆきひろ) then I'm not going to be illustrating the 
encoding used. (I suspect the encoding on this e-mail won't let the 
above through. If it doesn't, I cut and pasted Matz's name).

So, what would a Japanese speaker use to illustrate the use of NKF? 
Would you show the octal string instead? How would you enter it?

Cheers

Dave

In This Thread

Prev Next