CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
character changing to 'u'.

 



stupeas
Novice

Dec 22, 2006, 9:01 AM

Post #1 of 4 (866 views)
character changing to 'u'. Can't Post

I have an array with various characters stored in it. When i access the English pound symbol (), Perl seems to be interpreting it as a u letter with a squiggle across the top. Its fine when i actually type the pound sign at the command prompt, the problem only occurs when the script is run.

Any help greatly appreciated, thanx,


KevinR
Veteran


Dec 22, 2006, 10:47 AM

Post #2 of 4 (864 views)
Re: [stupeas] character changing to 'u'. [In reply to] Can't Post

post your code.
-------------------------------------------------


stupeas
Novice

Dec 22, 2006, 11:38 AM

Post #3 of 4 (861 views)
Re: [KevinR] character changing to 'u'. [In reply to] Can't Post

this is what im using to test;

Code
my @char=qw($ &  & $ &); 
print("$char[2]");



KevinR
Veteran


Dec 22, 2006, 2:04 PM

Post #4 of 4 (857 views)
Re: [stupeas] character changing to 'u'. [In reply to] Can't Post

yea, I get the same thing in the console window with windows 98. Looks OK in a browser so it's something to do with character mappping in the console or something related. It's not perl though.
-------------------------------------------------

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives