Website hosting service by Active-Venture.com
 

 Back to Index

Kconv module

Kconv - Kanji code conversion utility module

SYNOPSIS

newstring = Kconv::kconv(string, Kconv::JIS, Kconv::AUTO);
newstring = Kconv::tojis(string);
newstring = Kconv::toeuc(string);
newstring = Kconv::tosjis(string);
guessed_code = Kconv::guess(string);

CONSTANTS

AUTO
Auto detection(only for input mode)
JIS
ISO-2022-JP
EUC
EUC-Japan
SJIS
Shifted JIS code (so called MS Kanji code)
BINARY
Binary code (not in JIS/SJIS/EUC).
UNKNOWN
Couldn't determin character code. Same as AUTO.

 

  

 

 

© 2002-2004 Active-Venture.com Website Hosting Service

 
Buy domain name - Buy domain name at only $5.95/yr with comprehensive domain hosting services. Domain registration - Domain registration and domain search service from $5.95 Register domain name - Cheap domain name registration and domain transfer service
 

Disclaimer: This documentation is provided only for the benefits of our website hosting customers.
For authoritative source of the documentation, please refer to http://www.ruby-doc.org/docs/