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

Problem with encoding values #986

Open
Rosencrantz opened this issue Jan 24, 2023 · 2 comments
Open

Problem with encoding values #986

Rosencrantz opened this issue Jan 24, 2023 · 2 comments
Labels

Comments

@Rosencrantz
Copy link
Contributor

Hi, I have what I assume is an encoding issue with the ftm python library. A datasets I am working with have a share capital in KZ Tenge, something like ₸15,000,000 . I iterate over my nice little values, create entity proxies, add properties, all looks fine. But once I do a proxy.to_dict() the Tenge symbol is gone and the value will look like ā‚ø15,000,000 or (it’s not even consistent) 'ג‚¸15,000,000 - any help is appreciated.

@pudo
Copy link
Contributor

pudo commented Feb 27, 2023

This feels like it may be happening in the FtM string normalizer: https://github.com/alephdata/followthemoney/blob/main/followthemoney/util.py#L69 - maybe cool to test against and see if it's a broader error?

@epicslapper
Copy link

Wait , isn't this called follow the money ???
Just kidding , i see a lot of long faces here ....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: 🏷️ Triage
Development

No branches or pull requests

3 participants