UTF-8 and strings extractions

Author Message

laurent le cadet

Thursday 20 December 2007 7:27:28 am

Hi,

I just change the charset of one site DB to UTF-8 and I have a small problem with the string manipulation.
i.e in calender view, I use:

{$event.object.data_map.date.content.timestamp|datetime(custom,"%M")|extract_left( 3 )}

The asked language is french and for "August" the translation is "Août".
The extract_left operator seems to cut the string at the wrong place because it print out "Ao?"

Is there a missing setting?

Best regards.

Laurent

Kristof Coomans

Friday 21 December 2007 12:01:32 am

Hi Laurent

I confirm this problem on eZ Publish 4.0.0. I filed an issue report here: http://issues.ez.no/12298. Thanks for letting us know!

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

laurent le cadet

Friday 21 December 2007 12:37:21 am

Thanks Kristof.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.