cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
Subject Re: Proposal: Make defaults for text serializers UTF-8
Date Wed, 10 Aug 2005 14:54:44 GMT
Gregor J. Rothfuss wrote:
> Leszek Gawron wrote:
> 
>> Berin Loritsch wrote:
>>
>>> Considering we have a very international user base, and the fact that
>>> more and more projects have to deal with international or special
>>> character, why not make the demo international friendly.
>>>
>>> In order to set encoding standards for your mime-type you have to
>>> include the character-encoding after the mime-type.  Ex:
>>>
>>> text/html;encoding=utf-8
>>>
>>> Without the encoding clue, most browsers assume whatever is the default
>>> for that browser.  In the U.S. it is typically iso-8859-latin.  This bit
>>> us yesterday as we had to make that change to support special characters
>>> again--this time with Cocoon.
>>>
>> What do you propose?
>>
>> <map:serializer name="text" 
>> src="org.apache.cocoon.serialization.TextSerializer" 
>> mime-type="text/plain" logger="sitemap.serializer.text">
>>     <encoding>utf-8</encoding>
>> </map:serializer>
> 
> 
> you missed the ;encoding=utf-8 for the mime type
> 
> and yes, i would be +1 for this
+1. I'm in favour of every setting that makes polish letters work OOTB :)

-- 
Leszek Gawron                                      lgawron@mobilebox.pl
IT Manager                                         MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

Mime
View raw message