Re: [opensc-devel] converting source code from latin1 to UTF-8

2006-12-20 Thread Ludovic Rousseau
On 19/12/06, Andreas Jellinghaus <[EMAIL PROTECTED]> wrote: stef, peter: I left two files out becuse I wasn't sure if it would be ok: card-belpic.c and netkey-tool.c both have several strings that are printed (I guess at least) in iso8859-1 encoding. if we convert those to utf-8, will it still wo

Re: [opensc-devel] converting source code from latin1 to UTF-8

2006-12-19 Thread Andreas Jellinghaus
Ludovic Rousseau wrote: I used: "find -name '*.[ch]' | xargs recode latin1..utf8" to convert the OpenSC source code files. thanks, I ran that on all files and commited them in several batches. please everyone test if the source still works fine, most important on windows. stef, peter: I left t

Re: [opensc-devel] converting source code from latin1 to UTF-8

2006-12-19 Thread Ludovic Rousseau
On 18/12/06, Andreas Jellinghaus <[EMAIL PROTECTED]> wrote: Ludovic Rousseau wrote: > On 16/12/06, Andreas Jellinghaus <[EMAIL PROTECTED]> wrote: >> I checked the pkcs15-tcos.c, it does not use german umlaut in the cert >> names, but uses "ue" and friends, i.e. ascii only. > > Can you give me the

Re: [opensc-devel] converting source code from latin1 to UTF-8

2006-12-17 Thread Andreas Jellinghaus
Ludovic Rousseau wrote: On 16/12/06, Andreas Jellinghaus <[EMAIL PROTECTED]> wrote: I checked the pkcs15-tcos.c, it does not use german umlaut in the cert names, but uses "ue" and friends, i.e. ascii only. Can you give me the line number? I can't find a non-ASCII character in pkcs15-tcos.c. At

Re: [opensc-devel] converting source code from latin1 to UTF-8

2006-12-17 Thread Ludovic Rousseau
On 16/12/06, Andreas Jellinghaus <[EMAIL PROTECTED]> wrote: I checked the pkcs15-tcos.c, it does not use german umlaut in the cert names, but uses "ue" and friends, i.e. ascii only. Can you give me the line number? I can't find a non-ASCII character in pkcs15-tcos.c. At least vim is happy with

Re: [opensc-devel] converting source code from latin1 to UTF-8

2006-12-16 Thread Andreas Jellinghaus
Ludovic Rousseau wrote: The source code .c and .h files are encoded using latin1. It is not a problem except for names using accents (in the copyright section in general). I am using UTF-8 since some time now and vim is not happy with non-UTF-8 texts and complains with something like "[ILLEGAL B

Re: [opensc-devel] converting source code from latin1 to UTF-8

2006-12-16 Thread Martin Paljak
On 15.12.2006, at 15:46, Ludovic Rousseau wrote: My question: is someone opposed to a "massive" conversion from latin1 to utf-8 of the source code so my vim editor is happy again? Is it time to switch? I would like it. I think it is time. -- Martin Paljak / [EMAIL PROTECTED] martin.paljak.pr

[opensc-devel] converting source code from latin1 to UTF-8

2006-12-15 Thread Ludovic Rousseau
Hello, The source code .c and .h files are encoded using latin1. It is not a problem except for names using accents (in the copyright section in general). I am using UTF-8 since some time now and vim is not happy with non-UTF-8 texts and complains with something like "[ILLEGAL BYTE in line 4]" f