Mark Dootson mark.doot...@znix.com writes:
None of my machines can be ASCII or EBCDIC by whatever definition this
doc entry uses [...] What exactly is an ASCII machine?
ASCII just means: non-EBCDIC.
Anyhow, I find that after
$string = decode(utf8, $octets)
$string always has the utf8
Hi,
On 02/05/2013 10:34, Johan Vromans wrote:
The question is: do we consider wxWidgets to be 'external world'. That
answer is most likely 'yes'. But more important: do we consider wxPerl
to be 'external world'? I'd say 'no'. Therefore, what I'd expect to pass
to a wxPerl routine is a string
Hi,
perldoc for the module Encode says:
-
CAVEAT: When you run $string = decode(utf8, $octets) , then $string
might not be equal to $octets. Though both contain the same data, the
UTF8 flag for $string is on unless $octets
(@_);
}
At least all the things that might go wrong will all be here.
Regards
Steve.
-Original Message-
From: Mark Dootson [mailto:mark.doot...@znix.com]
Sent: 01 May 2013 18:11
To: wxperl-users@perl.org
Subject: wxString and UTF-8, utf8 etc etc etc again
Hi,
perldoc for the module Encode
Hi,
On 02/05/2013 00:17, Steve Cookson wrote:
Or just
sub libDecode ($$){
return decode(@_);
}
At least all the things that might go wrong will all be here.
You're unduly worried ( probably my fault ).
my $string = decode($encoding, $binary);
Is fine.
Cheers
Mark
From: Mark Dootson mark.doot...@znix.com
Hi,
On 02/05/2013 00:17, Steve Cookson wrote:
Or just
sub libDecode ($$){
return decode(@_);
}
At least all the things that might go wrong will all be here.
You're unduly worried ( probably my fault ).
my $string = decode($encoding,