Dan Kogai > Jcode > Jcode::Unicode::NoXS

Download:
Jcode-2.07.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 2.00   Source  

NAME ^

Jcode::Unicode::NoXS - Non-XS version of Jcode::Unicode

SYNOPSIS ^

NONE

DESCRIPTION ^

This module is called by Jcode.pm on demand. This module is not intended for direct use by users. This modules implements functions related to Unicode. Following functions are defined here;

Jcode::ucs2_euc();
Jcode::euc_ucs2();
Jcode::ucs2_utf8();
Jcode::utf8_ucs2();
Jcode::euc_utf8();
Jcode::utf8_euc();

VARIABLES ^

$Jcode::Unicode::PEDANTIC

When set to non-zero, x-to-unicode conversion becomes pedantic. That is, '\' (chr(0x5c)) is converted to zenkaku backslash and '~" (chr(0x7e)) to JIS-x0212 tilde.

By Default, Jcode::Unicode leaves ascii ([0x00-0x7f]) as it is.

MODULES ^

Jcode::Unicode::Constants

Jumbo hash that contains UCS2-EUC conversion table is there.

BUGS ^

 * It's very slow to initialize, due to the size of the conversion
   table it has to load.  Once loaded, however, the perfomance is not
   too bad (But still much slower than XS version).
 * Besides that, that is Unicode, Inc. to Blame (Especially JIS0201.TXT).

SEE ALSO ^

http://www.unicode.org/

COPYRIGHT ^

Copyright 1999 Dan Kogai <dankogai@dan.co.jp>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Unicode conversion table used here are based uponon files at ftp://ftp.unicode.org/Public/MAPPINGS/EASTASIA/JIS/, Copyright (c) 1991-1994 Unicode, Inc.

syntax highlighting: