How about creating a user account on the ObjectWeb forge and we give you commit rights Ludovic Matthew Conway wrote:
In fact it does - just tried it on UNICODE mysql/xwiki setup and the cont length was correct - no truncation on a page that does get truncated when using content.getLength(). If you wouldn't mind making that change in the repository, i would save me having to patch every time I upgrade :) Thanks,
Matt
On Aug 31, 2005, at 7:33 PM, Ludovic Dubost wrote:
Yes.. that might do it..
Ludovic
Matthew Conway wrote:
On Aug 31, 2005, at 4:31 PM, Ludovic Dubost wrote:
How about calculating the real size for UTF-8 and having a setting to set or not the content-length..
Actually, isn't the content length always going to be the number of bytes, regardless of what encoding is being used?
content.getBytes().length
------------------------------------------------------------------------
-- You receive this message as a subscriber of the xwiki-dev@objectweb.org mailing list. To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org For general help: mailto:sympa@objectweb.org?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic