[ic] [interchange] Ensure that we use a UTF8 locale for strftime in [convert-date] tag.

Stefan Hornburg (Racke) racke at linuxia.de
Tue Mar 5 18:18:40 UTC 2013


On 03/05/2013 07:09 PM, Jon Jensen wrote:
> Stefan,
> 
> What is your locale exactly?

root at argus:~# locale -a | grep de_DE
de_DE
de_DE at euro
de_DE.utf8

I used de_DE which caused IC to crash when trying to display März as month name through [convert-date].

> 
> Mine in $ENV{LANG} is "en_US.UTF-8", so it would not match your regex check and would end up "en_US.UTF-8.utf8", if I'm reading this correctly.
> 

I suppose we need to adjust it accordingly like /\.utf-?8/i. What do you think?

Regards
	Racke


-- 
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team




More information about the interchange-users mailing list