OK, thanks, that makes sense. I am hoping to get python installed on these servers and then it won't be a problem, until then I need to use this hack. It appears installing Python on certain versions of Solaris is quite a pain.
On Fri, Sep 5, 2008 at 2:54 PM, Wooble <[EMAIL PROTECTED]> wrote: > > The perl length() function returns the number of characters in a > string, while the HTTP Content-Length header is the number of bytes in > the content. If your content contains multi-byte characters, these > won't be the same thing. > > From perldoc length: > Note the characters: if the EXPR is in Unicode, you will get the > number of characters, not the number of bytes. To get the length of > the internal string in bytes, use bytes::length(EXPR) , see bytes. > Note that the internal encoding is variable, and the number of bytes > usually meaningless. To get the number of bytes that the string would > have when encoded as UTF-8, use length(Encoding::encode_utf8(EXPR)). > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
