471 |
} |
} |
472 |
$t = _i2o ($c, $C, cs_F => $F) if $F; |
$t = _i2o ($c, $C, cs_F => $F) if $F; |
473 |
} |
} |
474 |
if (defined $t) { ## Output character itself |
if (defined $t) { ## Output the character itself |
475 |
$r .= $t; |
$r .= $t; |
476 |
} elsif ($C->{option}->{fallback_from_ucs} =~ /quiet/) { |
} elsif ($C->{option}->{fallback_from_ucs} =~ /quiet/) { |
477 |
$r .= _back2ascii ($C) if $C->{option}->{fallback_from_ucs} =~ /back/; |
$r .= _back2ascii ($C) if $C->{option}->{fallback_from_ucs} =~ /back/; |
483 |
reason => sprintf (q(U+%04X: There is no character mapped to), $cc)); |
reason => sprintf (q(U+%04X: There is no character mapped to), $cc)); |
484 |
} else { |
} else { |
485 |
## Try to output with fallback escape sequence (if specified) |
## Try to output with fallback escape sequence (if specified) |
486 |
my $t = Encode::Charset::fallback_escape ($C, $c); |
my $t = Encode::Charset->fallback_escape ($C, $c); |
487 |
if (defined $t) { |
if (defined $t) { |
488 |
my %D = (fallback => $C->{option}->{fallback_from_ucs}, reset => $C->{option}->{reset}); |
my %D = (fallback => $C->{option}->{fallback_from_ucs}, reset => $C->{option}->{reset}); |
489 |
$C->{option}->{fallback_from_ucs} = 'croak'; |
$C->{option}->{fallback_from_ucs} = 'croak'; |