- or download this
use encoding "utf-8"; # For text containing I
+SO-8859-1 and/or UTF-8 characters
- or download this
open (OUT, ">:encoding(UTF-8)", ">$outfile") || die "Unable to open $o
+utfile for writing.";
- or download this
$ENV{NLS_LANG} = 'AMERICAN_AMERICA.AL32UTF8'; # Handle UTF-8 charac
+ters
- or download this
my $dbh = DBI->connect("dbi:Oracle:$DATABASE", $USERNAME, $PASSWORD,
{ RaiseError => 1, AutoCommit => 0, ora_charset => "UTF8" })
or die ($DBI::errstr . "\n");
- or download this
$twig = XML::Twig->new( twig_handlers => $handlers, output_encoding =>
+ 'utf-8' );