Chilkat
HOME
Android™
ASP
Visual Basic
VB.NET
C#
iOS (IPhone)
Objective-C
C++
C
MFC
Delphi
FoxPro
Java
Perl
PHP Extension
PHP ActiveX
Python
PowerShell
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"); |
© 2000-2010 Chilkat Software, Inc. All Rights Reserved.