gltn / stdm

STDM is a free and open source pro-poor land recordation system based on QGIS, PostgreSQL and PostGIS.
http://stdm.gltn.net/
GNU General Public License v2.0
31 stars 29 forks source link

Encoding issues in non-English languages of Mobile tools #264

Closed wondie closed 6 years ago

wondie commented 7 years ago

The issue affects both the mobile form export and import data modules.

SolomonN commented 7 years ago

I will test this and fix

SolomonN commented 7 years ago

Dear Wondie, Is there an English translation for the lookup values.

wondie commented 7 years ago

Dear Solomon, yes it is available but that is not used in the field.

wondie commented 6 years ago

This issue is an encoding issue. If you make the python code recognize unicode, it will be great. I have been fixing several similar issues.

These are some of the methods used to covert ascii code to non-ascii. string.encode("utf-8") string.decode("utf-8") unicode(string) u"the string"

SolomonN commented 6 years ago

Dear Wondie, I have made some changes to support encoding but this is only a temporary fix Please check again and let me know your findings.

wondie commented 6 years ago

Dear Solomon,

I tested today and the problem still exists. Please use the configuration.stc I shared you last time to test it too.

wondie commented 6 years ago

The issue is now fixed in this commit.