You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Michael Wechner <mi...@wyona.com> on 2005/01/03 15:33:35 UTC

Special characters 150 or 146 don't show correctly

When I use the special characters &#150; or &#146; within the default 
publication (e.g. the welcome page) then these characters won't show 
correctly, whereas the special character &#252; will work without a problem.

If I switch the serializer to

<map:serialize type="html-iso-8859-1"/>

within

src/webapp/lenya/pubs/default/publication-sitemap.xmap

instead of the standard one (UTF-8) then it works for all "special ASCII 
characters".

Any idea?


Thanks

Michi

-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail:             user-unsubscribe@lenya.apache.org
For additional commands, e-mail:           user-help@lenya.apache.org
Apache Lenya Project                          http://lenya.apache.org


Re: Special characters 150 or 146 don't show correctly

Posted by Michael Wechner <mi...@wyona.com>.
Rolf Kulemann wrote:

>On Mon, 2005-01-03 at 15:33, Michael Wechner wrote:
>  
>
>>When I use the special characters &#150; or &#146; within the default 
>>publication (e.g. the welcome page) then these characters won't show 
>>correctly, whereas the special character &#252; will work without a problem.
>>    
>>
>
>Dunno why. I wonder why you use those entites. Can't u use the chars
>directly in the utf-8 encoded xml? Looking at
>http://de.selfhtml.org/html/referenz/zeichen.htm#benannte_iso8859_1 i
>can not find the chars you metioned. What are they?
>  
>

it's the endash and kind of an apostrophe, but I just realise

http://www.tntluoma.com/sidebars/codes/

that &#8211; (instead &#150;) and &#8217; (instead &#146;) work very fine

Thanks

Michi


-- 
Michael Wechner
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
michael.wechner@wyona.com                        michi@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail:             user-unsubscribe@lenya.apache.org
For additional commands, e-mail:           user-help@lenya.apache.org
Apache Lenya Project                          http://lenya.apache.org


Re: Special characters 150 or 146 don't show correctly

Posted by Rolf Kulemann <ro...@apache.org>.
On Mon, 2005-01-03 at 15:33, Michael Wechner wrote:
> When I use the special characters &#150; or &#146; within the default 
> publication (e.g. the welcome page) then these characters won't show 
> correctly, whereas the special character &#252; will work without a problem.

Dunno why. I wonder why you use those entites. Can't u use the chars
directly in the utf-8 encoded xml? Looking at
http://de.selfhtml.org/html/referenz/zeichen.htm#benannte_iso8859_1 i
can not find the chars you metioned. What are they?
-- 
Rolf Kulemann


---------------------------------------------------------------------
To unsubscribe, e-mail:             user-unsubscribe@lenya.apache.org
For additional commands, e-mail:           user-help@lenya.apache.org
Apache Lenya Project                          http://lenya.apache.org