#collation

2025-08-06

@cks

Warning: rabbit hole

polymaths.social/@rl_dane/stat

You'll recognize this one as well, no doubt. There's probably an old Usenet FAQ somewhere with it, although I haven't checked.

But it got me to thinking of when the idea of a-z collating *entirely after* A-Z became a norm; only to falter again when ASCII systems met other countries. When the era was.

I checked with a couple of my old printed dictionaries from the 20th century, and they had case-insensitive collation in English. One even put 'a' ahead of 'A'.

It's definitely thus an #ASCII notion, but did it pre-date #Unix? Did it pre-date regular expression syntax? Or shell globbing?

My initial educated guess would be that the golden period of A-Za-z was the middle 1960s with ASCII and some Unix predecessor to the early 1990s when all of the books/posts/whatnot on the new Standard C were spreading the knowledge of locales.

#UnixHistory #retrocomputing #locales #collation #RegularExpressions #fnmatch

2025-04-19

How to Change Column Collation in MySQL
Need to change column collation in MySQL? Our guide covers updating single columns, tables, and databases for better character support. Learn SQL commands & automation tips!
tech-champion.com/database/mys
...

Christian Thomasdta_cthomas@fedihum.org
2025-04-13

@emchateau thanks for the hint to David J. Birnbaum's collection!

Funny coincidence, I am just on my way to what will surely be a wonderful and productive workshop on #Collation and #Visualisation (lorentzcenter.nl/seeing-the-di), and am reading (and can recommend) a #Balisage paper by said D. Birnbaum & Ronald Dekker in preparation: doi.org/10.4242/BalisageVol29.

I will check out the #XSLT learning resources you mentioned and the ones other might still mention during the week, thanks again!

CC @petrichor

Poster for the Leiden Workshop "Seeing the Difference: Visualizing Textual Variation", 14.–18.04.2025, available with more information and as screen-reader-friendly PDF at https://www.lorentzcenter.nl/seeing-the-difference-visualizing-textual-variation.html
2025-03-29

How to Change Column Collation in MySQL
Need to change column collation in MySQL? Our guide covers updating single columns, tables, and databases for better character support. Learn SQL commands & automation tips!
tech-champion.com/database/mys
...

Alexandre B A Villares 🐍villares@ciberlandia.pt
2025-02-22

Livro #PythonFluente do @lr é uma preciosidade incrível. O capítulo 4 "Texto em Unicode versus Bytes" então é um arraso total
pythonfluente.com/#strings_byt

Hoje eu consultei numa aula para falar sobre a questão da ordenação de strings de maneira adequada ao português... pythonfluente.com/#sorting_uni

#Python #unicode #collation

Claudio Zizza 🦜SenseException@phpc.social
2025-01-30

#Collation problem identified in a project.

A good time to remind that sorting data isn't a question of yes or no. There are language specific rules to represent sorted data.

💾 Paweł Łukasikpawel_lukasik@infosec.exchange
2024-03-19

One of the functions that was mentioned in yesterday's post was EF.Functions.Collate, and collation is the thing that might cause issues when combining the DB and .NET code.

You might set collation on the DB so that upper and lower case letters will be treated the same - no distinctions. String equality, on the other hand, does recognize lower and upper characters. So if we combine the two, we get into trouble.

Let's assume that we have a simple table with a varchar column and a unique constraint on it with a collation that doesn't differentiate between lower and upper case. Now, we have the following code that loads data into memory and checks if an entry exists before adding it. Our comparison will be fruitless, but adding to the database will fail with an exception.

See the extra code below 👇

Docs 📑: learn.microsoft.com/en-us/ef/c

#dotnet #entityframeworkcore #effunctions #database #collation

---
If you find this useful, consider giving a like & share ♻.

C# code using EntityFramework
christyotwisty 🇨🇦 (prime acccosullivan@mstdn.io
2022-12-20
Stephen Fierbaughsfierbaugh@home.social
2022-12-15

Every time I fill out an online form, when I get to the State field, I imagine Tennessee saying, "Suck it, Texas. Too bad you have to do the extra click and select thing..." :-) #collation #alphabeticalorder Except having lived in both states, TN wouldn't say that. TX might if the alphabet were reversed...

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst