translating foreign data
Ben Bacarisse
ben.bacarisse at 1
Fri Jun 22 21:06:34 EDT 2018
To: Steven D'Aprano
From: Ben Bacarisse <ben.usenet at bsb.me.uk>
Steven D'Aprano <steve+comp.lang.python at pearwood.info> writes:
> On Fri, 22 Jun 2018 11:14:59 +0100, Ben Bacarisse wrote:
>
>>>> The code page remark is curious. Will some "code pages" have digits
>>>> that are not ASCII digits?
>>>
>>> Good question. I have no idea.
>>
>> It's much more of an open question than I thought.
>
> Nah, Python already solves that for you:
My understanding was that the OP does not (reliably) know the encoding, though
that was a guess based on a turn of phrase.
Another guess is that the OP does not have Unicode data. The term "code page"
hints at an 8-bit encoding or at least a pre-Unicode one.
<snip>
--
Ben.
--- BBBS/Li6 v4.10 Toy-3
* Origin: Prism bbs (1:261/38)
More information about the Python-list
mailing list