A
andipfaff
Hi there,
beginners question: I have written a small website with a PERL script
which can be viewed in 4 western european languages. Each text to be
displayed is stored in arrays like
$text1[1] = qq(Hallo);
$text1[2] = qq(Salut);
$text1[3] = qq(Saluti);
$text1[4] = qq(Hello);
and printed to STDOUT. Now I want to extend this with cyrillic
characters (5th language: russian). Unfortunately I have no idea how to
do that. I simply tried to cut&paste cyrillic letters from websites
like wikipedia cyrillic aplphabet, but in my Editor (DZSoft) I just get
a question mark when pasting. In Notepad pasting is OK, because he is
capable of UTF-8. DZSoft does not seem to be.
What are the minimum requirements to print a cyrillic character with
PERL into a website? I am working with Windows 2k english or german,
IIS 5 on a W2k Server, ActiveState PERL, and a MySQL database.
The PERL script is using CGI, but HTML code is written directly:
print qq(Content-type: text/html\n\n
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head> etc.
Does anybody can give me a simple script which I can test with Notepad
as en editor?
Thanks in advance
Andi Pfaff
beginners question: I have written a small website with a PERL script
which can be viewed in 4 western european languages. Each text to be
displayed is stored in arrays like
$text1[1] = qq(Hallo);
$text1[2] = qq(Salut);
$text1[3] = qq(Saluti);
$text1[4] = qq(Hello);
and printed to STDOUT. Now I want to extend this with cyrillic
characters (5th language: russian). Unfortunately I have no idea how to
do that. I simply tried to cut&paste cyrillic letters from websites
like wikipedia cyrillic aplphabet, but in my Editor (DZSoft) I just get
a question mark when pasting. In Notepad pasting is OK, because he is
capable of UTF-8. DZSoft does not seem to be.
What are the minimum requirements to print a cyrillic character with
PERL into a website? I am working with Windows 2k english or german,
IIS 5 on a W2k Server, ActiveState PERL, and a MySQL database.
The PERL script is using CGI, but HTML code is written directly:
print qq(Content-type: text/html\n\n
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head> etc.
Does anybody can give me a simple script which I can test with Notepad
as en editor?
Thanks in advance
Andi Pfaff