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

system.cmp returns different results for string on different operating systems #8930

Closed
ghost opened this issue Sep 9, 2018 · 0 comments
Closed

Comments

@ghost
Copy link

ghost commented Sep 9, 2018

echo cmp("abc", "äbc")
gives on Windows 7 amd64: -1
and on Arch Linux amd64: -98
Tested using Nim devel 0.18.1

Maybe it returns different results for other types too.

@Araq Araq closed this as completed in a34184b Sep 14, 2018
pb-cdunn pushed a commit to bio-nim/Nim that referenced this issue Sep 2, 2019
It is still system-dependent, but shorter strings should come sooner.

See nim-lang#8930 and nim-lang#10559
This was referenced Sep 2, 2019
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

1 participant