Chilkat HOME ASP Visual Basic VB.NET C# Visual C++ C MFC Delphi FoxPro Java Perl PHP Python Ruby SQL Server VBScript
|
Print Non-US-ASCII Characters to DOS Console Perl script to print non-ascii characters to the DOS console.
#The declaration "use utf8;" determines how the script source file containing it is
#interpreted. If this declaration is used, strings within the source file will be
#interpreted as being encoded in utf8.
use utf8;
use chilkat;
$s = new chilkat::CkString();
$s->appendUtf8("Is féidir liom gloinne a ithe. Ní dhéanann sí dochar ar bith dom.");
# Printing to the DOS console requires the OEM (DOS) code page, which is
# charset ibm850 on US and Western European computers.
print $s->getEnc("ibm850");
|
Need a specific example? Send a request to support@chilkatsoft.com
© 2000-2008 Chilkat Software, Inc. All Rights Reserved.