in reply to Re^7: Another utf-8 decoding problem
in thread Another utf-8 decoding problem
usingSV = PV(0xb8de060) at 0xbbabfa0 REFCNT = 1 FLAGS = (TEMP,POK,pPOK) PV = 0xbb6f730 "traningsredskap"\0 CUR = 15 LEN = 16 SV = PV(0xb8dddd0) at 0xa3b0800 REFCNT = 1 FLAGS = (PADMY,POK,pPOK,UTF8) PV = 0xbb8bc98 "traningsredskap"\0 [UTF8 "traningsredskap"] CUR = 15 LEN = 16 SV = PV(0xb8dddd0) at 0xa3b0800 REFCNT = 1 FLAGS = (PADMY,POK,pPOK,UTF8) PV = 0xbb6d3d0 "traningsredskap"\0 [UTF8 "traningsredskap"] CUR = 15 LEN = 16 SV = PV(0xb8de060) at 0xbbabfa0 REFCNT = 1 FLAGS = (TEMP,POK,pPOK) PV = 0xbb72668 "traningsredskap"\0 CUR = 15 LEN = 16
my $str = $original_value; Dump $str; $str = decode("utf-8", $str); Dump $str; Dump encode('latin1', $str);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: Another utf-8 decoding problem
by DreamT (Pilgrim) on Oct 11, 2010 at 14:19 UTC | |
by moritz (Cardinal) on Oct 11, 2010 at 14:53 UTC | |
by DreamT (Pilgrim) on Oct 11, 2010 at 15:09 UTC | |
by moritz (Cardinal) on Oct 11, 2010 at 15:20 UTC | |
by DreamT (Pilgrim) on Oct 11, 2010 at 15:58 UTC | |
|