case-folding Questions
3
"strasse".Equals("STRAße",StringComparison.InvariantCultureIgnoreCase)
This returns true. Which is correct. Unfortunately, when I store one of these in postgres, it thinks they are not the same w...
Schizont asked 5/4, 2018 at 20:1
2
Solved
To compare two strings case insensitively, one correct way is to case
fold them first. How is this better than upper casing or lower casing?
I find examples where lower casing doesn't work right on...
Grave asked 15/4, 2021 at 10:29
3
Solved
I want to have a key insensitive string as key.
Is it supported by the language or do I have to create it myself?
thank you
Edit: What I am looking for is a way to make it by default instead of h...
Yeargain asked 20/6, 2012 at 17:12
1
Solved
Are there JavaScript polyfill implementations of String.toLowerCase() and String.toUpperCase(), or other methods in JavaScript that can work with Unicode characters and are consistent across browse...
Osana asked 26/11, 2018 at 19:48
1
Solved
I'm trying to get case folding to be consistent between three languages (C++, Python and Golang) because I need to be able to check if a string matches the one saved no matter the language.
An exa...
Concur asked 28/3, 2017 at 2:59
1
Solved
Been recently reading on casefold and string comparisons when ignoring case. I've read that the MSDN standard is to use InvariantCulture and definitely avoid toLowercase. However, casefold from wha...
Grow asked 31/10, 2016 at 18:21
2
Solved
I'm trying to implement a library for reading Microsoft CFB (Compound File Binary) Format files, according to the official specification of that format. The specification is available from this sit...
Episcopal asked 24/11, 2013 at 21:52
2
Solved
It sounds like a joke, but I can sort of prove it.
Assumptions:
Dot matches any single character.
A case-insensitive pattern matches s if and only if it matches s.toUpperCase().
All of the fol...
Volva asked 2/10, 2013 at 10:57
3
Solved
I have a problem with converting uppercase letters with umlauts to lowercase ones.
print("ÄÖÜAOU".lower())
The A, O and the U gets converted properly but the Ä,Ö and Ü stays uppercase. Any ideas...
Widthwise asked 24/2, 2013 at 14:43
1
© 2022 - 2024 — McMap. All rights reserved.