I am trying to have poedit create a catalog on my PHP project. It crashes on a Non-ASCII character in some of my files.

Since the project is quite big, I was wondering if it was possible to run poedit and ignore these errors rather than ignore each file where they appear.

I am using the poedit GUI on Windows. I am trying to localize French content into English and vice versa.

有帮助吗?

解决方案

In poEdit, go to Catalog and Settings and check the properties in the Source Code charset. Try with UTF-8. (tip is worked for me and is from http://www.netvivs.com/error-xgettext-non-ascii-string-in-poedit/)

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top