[Catalyst-dev] Dropping characters when using fastcgi

Tomas Doran bobtfish at bobtfish.net
Wed Feb 16 10:16:58 GMT 2011


On 16 Feb 2011, at 10:08, Stefan Seifert wrote:
>> Are you using the Unicode plugin (either of them), or are you
>> outputting non-ascii? The mismatch between characters and bytes could
>> be causing the Content-Length to be miscalculated...
>
> Only for characters that take more than one byte in UTF-8, so "hello  
> world"
> should be completely safe.

Sure, but I don't automatically assume that when someone says 'a hello  
world program', that they're _actually_ printing 'hello world' - at  
least not without being shown the code :)

Cheers
t0m




More information about the Catalyst-dev mailing list