eZ Community » Forums » Developer » Save unicode storage folder...
expandshrink

Save unicode storage folder (vietnamese language)

Save unicode storage folder (vietnamese language)

Friday 11 July 2014 11:05:42 am - 2 replies

Hi,

I have problem with save unicode in storage folder and file name. My site only has Vietnamese language

I create section name with unicode (Vietnamese name) that have image field name. When I save image path save in database is unicode utf8 but folder and file name save in storage can not save unicode (it is likeTên Tệp /  Tên Tệp Tiếng Việt.JPG). It can not get correctly image path when view image in template.

Can someone to help me?

Thanks,

Trung Nguyen

Wednesday 16 July 2014 9:30:23 am

This sounds pretty much like a eZ Publish bug. I would file a bug report about it. I guess you are using a linux OS.

Though it might be interresting to know, if the operating system's configuration is the cause or if it is just the language handled by eZ Publish.

Wednesday 16 July 2014 10:04:46 am

Or an environment configuration problem. A pointer: http://perlgeek.de/en/article/set-up-a-clean-utf8-environment.

 

Side note: on windows it will plain just not work, as php-on-win does not support utf8 filenames (you can still support a non-latin-1 encoding, but only a single one, by changing environment configuration)

Modified on Wednesday 16 July 2014 10:05:53 am by Gaetano Giunta

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from