Re: [cgiapp] UTF-8 output

2009-11-03 Thread Emmanuel Seyman
* Michael Lackhoff [02/11/2009 20:38] : Thanks for the hint! But isn't it better then to tackle the problem right at the root: $webapp-query-charset('UTF-8'); # works! Probably. I've always felt that the most appropriate solution would be for CGI to default to UTF-8. because this would set

[cgiapp] Best practices for mobile browser detection?

2009-11-03 Thread Mark Stosberg
Hello, I'm interested to know what others are doing to implement mobile browser detection logic. The path we're currently considering here is a post of this logic to Perl: http://www.brainhandles.com/techno-thoughts/detecting-mobile-browsers We will likely publish the resulting Perl code so

Re: [cgiapp] UTF-8 output

2009-11-03 Thread Cees Hek
On Wed, Nov 4, 2009 at 12:15 AM, Michael Lackhoff lackh...@zbmed.uni-koeln.de wrote: On 03.11.2009 01:22 Cees Hek wrote: Have a look at this perlmonks post by Rhesa: http://www.perlmonks.org/?node_id=651574 Thanks Cees (and of course Rhesa), this is exactly what I need! Since you are the

Re: [cgiapp] UTF-8 output

2009-11-03 Thread Michael Lackhoff
On 03.11.2009 23:27 Cees Hek wrote: However, I guess you should ensure that any data that you send to TT is utf8 encoded. That's exactly the problem. I pass lots of RDBO objects into the templates and those should contain decoded (UTF-8 flag on) data, not UTF-8 octets, so I guess encoding the