Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ä ö ü in perl????

Status
Not open for further replies.

Hubertus

Programmer
Feb 4, 2006
1
0
0
AU
Hi there,

how to get these characters (ä ö ü ) in a perl program?
what is the syntax??
for examle the ü in Düren:

@categories = (
 
What operating system are you using?

If you are using Windows, you can go to the Character Map and find the characters that you are using. Then copy them into the Perl script, and run it.

You can use this:
[tt]
@funnycharacters = qw(ä ö ü);
[/tt]

If you are using something other than Windows, then I am not sure of the ASCII key codes to create the characters.

I am sure that you can find the ASCII key codes of all the keys on the Internet somewhere.

Hope this helps.

-Vic [sig]<p>vic cherubini<br><a href=mailto:malice365@hotmail.com>malice365@hotmail.com</a><br><a href= software</a><br>====<br>
Knows: Perl, HTML, JavScript, C/C++, PHP, Flash, Director<br>
Wants to Know: Java, Cold Fusion, Tcl/TK<br>
====[/sig]
 
If you need character translation please use the locale pragma:
Code:
use locale;
print uc &quot;Düren&quot;;
should print DÜREN in a German environment. [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top