[Pcsclite-muscle] Client code review request

David Woodhouse dwmw2
Thu Nov 13 10:21:47 PST 2014


On Thu, 2014-11-13 at 19:03 +0100, Ludovic Rousseau wrote:
> Legacy 8-bit character set is something like ISO 8859-1 (also known as Latin-1)?

Right.

> Do you need real UTF-8 reader names?

Not at all. I just need my code to Do The Right Thing? with the strings
it's given. If they are UTF-8 then I can just print them through my
normal 21st century output handling (in error and status messages), but
if they're legacy charsets then I'll need to know *what* legacy charset
they are and convert it.

> > But what about other IFD drivers ?
> 
> No idea.

I think this is something that pcsclite basically defines, and the IFD
drivers ought to follow. Either you declare that it's all UTF-8,
everywhere (which is the sane option in 2014), or you declare that it
follows $LC_CTYPE (which I think would parallel the Windows
SCardListReadersA function).

-- 
dwmw2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5745 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pcsclite-muscle/attachments/20141113/c8d83664/attachment-0001.bin>



More information about the pcsclite-muscle mailing list