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

Interesting bug #15

Open
nicola-spb opened this issue Oct 11, 2017 · 0 comments
Open

Interesting bug #15

nicola-spb opened this issue Oct 11, 2017 · 0 comments

Comments

@nicola-spb
Copy link

I started write test for russian and found this bug with FmtNumber. Run test and get:
Expected '1 123 456,56' Got '1 123 456,56'

And I found this:
bytes: '%!(EXTRA []uint8=[49 194 160 49 50 51 194 160 52 53 54 44 53 54], string='; ', []uint8=[49 32 49 50 51 32 52 53 54 44 53 54])

Sign "group" in Russian is 194 160 is NO-BREAK SPACE and it`s not equals with 32 SPACE. If someone will write test then he will get error in tests.

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

No branches or pull requests

1 participant