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

wish support chinese parse #37

Open
mouday opened this issue Mar 16, 2020 · 1 comment
Open

wish support chinese parse #37

mouday opened this issue Mar 16, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@mouday
Copy link

mouday commented Mar 16, 2020

eg:

from price_parser import Price

# ok
price = Price.fromstring("¥36,000")
print(price)
# Price(amount=Decimal('36000'), currency='¥')

# not ok
price = Price.fromstring("36元人民币")
print(price)
# Price(amount=Decimal('36'), currency=None)
@bookin
Copy link

bookin commented Jan 16, 2024

The same problem with 'US$ ۱٬۰۱۲٬۲۳۴٫۵۶

@Gallaecio Gallaecio added the enhancement New feature or request label Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants