[Dancer-users] [ proposal ] charset discussion

noc at nelcom-voip.com noc at nelcom-voip.com
Tue Dec 14 12:15:30 CET 2010


На Tue, 14 Dec 2010 11:58:29 +0100
damien krotkine <dkrotkine at gmail.com> записано:

> you are developing a Dancer App on Mac. The operating system has 'latin1' as
> global charset, and your files are all in latin1. If you set the 'charset'
> setting to 'UTF8', you'd want the files to continue being read as latin1,
> but Dancer output UTF8. That behavior is quite nice.
 
> So I would suggest that 'file_io_charset' defaults to nothing, so that
> unless specified, we let the operating system take care of the files
> charsets. But I like the 'file_io_charset' name :)

You mean unless file_io_charset specified to do nothing with files encoding
in perl, right? That makes sense, actually. You know, I'm quite bothered
to specify utf8 in so many places already, one more setting will not change
the picture. I have specified utf8 already in DBD::Pg options, also I have
to manually catch database errors and decode them as utf8, and to set use utf8
in every perl file also.


More information about the Dancer-users mailing list