Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I tell poedit to ignore Non-ASCII text errors?

Tags:

php

poedit

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.

like image 742
Asimov4 Avatar asked Feb 06 '12 17:02

Asimov4


1 Answers

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/)

like image 135
ewroman Avatar answered Nov 08 '22 09:11

ewroman