- Timestamp:
- Jan 26, 2013 2:18:36 AM (12 years ago)
- Branches:
- master, trunk
- Children:
- 7ee0f52
- Parents:
- 44957a5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
misc/findsimplified.pl
r44957a5 r8d17d4e 20 20 21 21 $str = $utf8->decode($str); 22 my $jtext = $ck->conv_c2j($str); 23 if ($str ne $jtext) { 24 return $utf8->encode($jtext); 22 my $sjis = encode("cp932", $str, Encode::FB_HTMLCREF); 23 if ($sjis =~ /&#\d{4,};/) { 24 my $jtext = $ck->conv_c2j($str); 25 if ($str ne $jtext) { 26 return $utf8->encode($jtext); 27 } 25 28 } 26 29
Note: See TracChangeset
for help on using the changeset viewer.