Hi Khabza,
now my problem is I cant type € symbol on my editor Textpad it return funny
characters like €
Textpad probably allows you to set the encoding of the file to UTF-8,
I think. Set it to UTF-8 so that you will be able to type in the €
symbol.
use utf8; # use whenever source code
Hi Khabza,
I have end up using ASCII Encoding instant of UTF-8
it does not find any thing if I use 'BC' . chr(0x20AC) . '01' then i
change to 'BC' . chr(0x80) . '01'
The following code works
if ( $euros eq 'BC' . chr(0x80) . '01' ) { # 0x20AC is the
hexadecimal value of €
# ...
I have program which write data to SQL Database, one of my input field is €
but it was working fine all along one day one of my user was working from
home using remote connection to the office. He save some data when come back
found all data that include euro € character have
weird like BC�01
I have end up using ASCII Encoding instant of UTF-8
it does not find any thing if I use 'BC' . chr(0x20AC) . '01' then i
change to 'BC' . chr(0x80) . '01'
The following code works
if ( $euros eq 'BC' . chr(0x80) . '01' ) { # 0x20AC is the
hexadecimal value of €
# ...
}
which I