Re: [Koha-devel] French sysprefs file encoding

2008-12-15 Thread Joe Atzberger
The git config step from the git usage pagealso should help: git config --global format.headers "Content-Type: text/plain; charset=\"utf-8\"" That is, it makes sure git sends email in UTF8. Frédéric Demians discovered this and I think I

Re: [Koha-devel] French sysprefs file encoding

2008-12-15 Thread Jesse Weaver
On Mon, Dec 15, 2008 at 7:07 AM, Andrew Moore wrote: > On Sat, Dec 13, 2008 at 8:41 PM, Jesse Weaver > wrote: > > Hello, > > > > I noticed that various patches to the systempreferences creation SQL > script > > for French have been in the Latin-1 encoding. The base encoding for the > file > > is

Re: [Koha-devel] binmode in pler scripts for utf-8 support

2008-12-15 Thread Rick Welykochy
Sébastien Nadeau wrote: > " To mark FILEHANDLE as UTF-8, use :utf8 or :encoding(utf8) . :utf8 just > marks the data as UTF-8 without further checking, while :encoding(utf8) > checks the data for actually being valid UTF-8. More details can be found in > PerlIO::encoding. " > This quote

Re: [Koha-devel] binmode in pler scripts for utf-8 support

2008-12-15 Thread Joe Atzberger
Rick -- That is just one form that happens to be used for existing filehandles. You can also find similar code in "open" statements (see rebuild_zebra.pl) and the same code in different forms like: binmode(STDOUT,":utf8"); We should setting it (or something like it) where needed. --Joe On Sun,

Re: [Koha-devel] binmode in pler scripts for utf-8 support

2008-12-15 Thread Sébastien Nadeau
Hi, Indeed, it's important to do so when utf8 encoded text is going to be written to a filehandle. For example, when extracting data from an utf8 database like MySQL and writing it to a file, or when reading from an utf8 encoded file. " To mark FILEHANDLE as UTF-8, use :utf8 or :encoding(utf8)

Re: [Koha-devel] French sysprefs file encoding

2008-12-15 Thread Andrew Moore
On Sat, Dec 13, 2008 at 8:41 PM, Jesse Weaver wrote: > Hello, > > I noticed that various patches to the systempreferences creation SQL script > for French have been in the Latin-1 encoding. The base encoding for the file > is UTF-8. Hi Jesse - Thanks for the notice. So, what do we need to do goi