TIL the assumption that string length does not change when upper-cased is false

TIL the assumption that string length does not change when upper-cased is false

Follow

TIL the presumption that string length does not alter when upper-cased is incorrect!

@ irrelefant I question if in other scripts/languages there are other comparable cases?

@ movonw Would not amaze me, to be truthful

@ irrelefant @ movonw a comparable thing takes place when you change Serbian Cyrillic to Latin. in Latin we do not have particular letters, they are Digraphs, however when capitalised we just capitalise the very first letter Nj, Lj, Đž

@ movonw Turkish enters your mind with the ¸ ğ’ which does not exist in an upper case variation, if I keep in mind properly

@ temporal @ movonw which ones precisely? I can’t think about any as a native:D

TBH it’s late, i may not be believing plainly

( That very first sentence came out too madly, i didn’t suggest it, simply a concern however sorry)

@ temporal @ movonw localisation typically is a mess, generally, there deffinitely will be some things you have not thought about particularly in things with a gui.

@ temporal @ movonw this is in fact why Unicode has the principle of “case-folding” where you transform each character to a “case-folded” variation that guarantees that any characters which can be reached through a chain of toLower or toUpper all fold to the very same character.

for the most part, this is simply the lowercase kind, however it has a couple of exceptions to look out kind

@ movonw you need to craft it simply right though:-RRB-

Read More

Author: admin