in reply to Re^2: Somthing related to encoding ??
in thread Somthing related to encoding ??

Sorry , i forgot to add code tages to give you the proof of output

This is what i got from that site : أخي الزائر، and this is what i get when i try to make it myself : ÃÎí ÇáÒÇÆÑ¡ the output is extremly deferent

Replies are listed 'Best First'.
Re^4: Somthing related to encoding ??
by fishbot_v2 (Chaplain) on Aug 10, 2005 at 16:14 UTC

    It looks like your string encoding in the local case is non-UTF8. You have the same number of characters (11) in both case, the first is the UTF8 entity encoding, the second is a mapping of your local string encoding to their codepoints (looks like iso-8859-6).

    See Encode for decoding to UTF8, then use unpack 'U*' or ord() on the UTF8 string.