NAME
Jcode::Unicode - Aux. routines for Jcode
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.
BUGS
This module is slow on initialization because it has to load entire UCS2 to EUC table (and vice versa when necessary). Once inited, the speed is OK.
As you might have guessed, EUC <-> UTF8 conversion is implemented as EUC <-> UCS2 <-> UTF8 conversion so performance sucks.
SEE ALSO
- Jcode::Unicode::Constants
- 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.
6 POD Errors
The following errors were encountered while parsing the POD:
- Around line 15:
'=item' outside of any '=over'
- Around line 44:
You forgot a '=back' before '=head1'
- Around line 46:
'=item' outside of any '=over'
- Around line 187:
You forgot a '=back' before '=head1'
- Around line 199:
'=item' outside of any '=over'
- Around line 203:
You forgot a '=back' before '=head1'