Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

field with encoded string (e.g. chinese) doesn't display correctly on screen #1780

Closed
lixun910 opened this issue Dec 9, 2018 · 8 comments
Closed

Comments

@lixun910
Copy link
Member

lixun910 commented Dec 9, 2018

This also causes an issue when merge datasource with encoded strings. For example, when a chinese city name is used as key to merge.

screen shot 2018-12-08 at 8 10 57 pm

@lixun910 lixun910 self-assigned this Dec 9, 2018
@lixun910 lixun910 added the bug label Dec 9, 2018
lixun910 added a commit to lixun910/geoda that referenced this issue Dec 9, 2018
lixun910 added a commit to lixun910/geoda that referenced this issue Dec 9, 2018
@lixun910
Copy link
Member Author

lixun910 commented Dec 9, 2018

This is a report from a Chinese scholar.

lixun910 added a commit to lixun910/geoda that referenced this issue Dec 9, 2018
lixun910 added a commit to lixun910/geoda that referenced this issue Dec 9, 2018
lixun910 added a commit to lixun910/geoda that referenced this issue Dec 10, 2018
1 GDAL/OGR after 1.9.0 can read encoding information (if coded) from DBF file via LDID byte (Language Driver ID), and then automatically recode strings to UTF-8

2. This will cause reading some encoded DBF file  (e.g. Chinese GB2312) in GeoDa directly as UTF-8 strings, and this will mislead the user with missing encoding information.

3. By set GDAL/OGR flags SHAP_ENCODING and ENCODING to "", GeoDa can then read DBF with original encoding and then user can choose correct encoding type via menu Table->Encodings.

4. A option "Select encoding" is added when load datasource for merging, in which user won't have Table->Encodings menu for the to-be-merged data.
lixun910 added a commit to lixun910/geoda that referenced this issue Dec 10, 2018
lixun910 added a commit to lixun910/geoda that referenced this issue Dec 11, 2018
@Ashitacarl
Copy link

GeoDa 1.12.1.179 (macOS Mojave, 10.14.1).

Same problem.

1780-2

@lixun910
Copy link
Member Author

lixun910 commented Dec 12, 2018 via email

@lixun910
Copy link
Member Author

lixun910 commented Dec 12, 2018 via email

@Ashitacarl
Copy link

@lixun910

1780-3

Don't know why, but seems still not working properly...

@lixun910
Copy link
Member Author

@Ashitacarl sorry, this version is not up-to-date, please try to download again
https://github.com/GeoDaCenter/geoda/releases/download/1.12.1.181/GeoDa1.12.1.181-Installer.dmg
and the date should be 10 December 2018. Thanks!

@Ashitacarl
Copy link

GeoDa 1.12.1.181 (macOS Mojave, 10.14.1).

Fix verified.

1780-3

@lixun910
Copy link
Member Author

lixun910 commented Dec 12, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants