ShiftJIS::CP932::Correct version 0.04
================

NAME

ShiftJIS::CP932::Correct - corrects a string in the CP-932 encoding 
(Shift_JIS supported by MS).

SYNOPSIS

  use ShiftJIS::CP932::Correct;

  $corrected_cp932_string = correct_cp932($cp932_string);

  $bool = is_cp932($cp932_string);

  $bool = is_corrected_cp932($corrected_cp932_string);

DESCRIPTION

This module provides some functions.

C<correct_cp932> corrects CP-932 string.
i.e. converts less preferred codepoints
of duplicates (doubly-defined characters) to the preferred one.

C<is_cp932> returns false if the string contain any not-CP932 codepoint.

C<is_corrected_cp932> returns false if the string contain 
any not-CP932 codepoint or any less preferred codepoint
of duplicates.

INSTALLATION

To install this module type the following:

   perl Makefile.PL
   make
   make test
   make install

DEPENDENCIES

Perl 5.003 or later.

COPYRIGHT AND LICENCE

Tomoyuki SADAHIRO

  bqw10602@nifty.com
  http://homepage1.nifty.com/nomenclator/perl/

  Copyright(C) 2001, SADAHIRO Tomoyuki. Japan. All rights reserved.

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

SEE ALSO

Microsoft PRB: Conversion Problem Between Shift-JIS and Unicode
(Article ID: Q170559)

