INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Alphabetical sort of "Å" broken  (Read 3134 times)

magnust

  • Galactic Citizen
  • ****
  • Posts: 380
Alphabetical sort of "Å" broken
« on: March 27, 2017, 03:16:07 pm »

I have an artist with a name that begins with Å (yes I'm Swedish) and the Album artist sort order seems broken:

- Å is placed before A in the alphabetical Album artist list. Instead as it should be, after Z (z-å-ä-ö)

- Choosing Å or choosing A in an album artist pane will in both cases show both all artists beginning with A and Å simultaneously.


 
MC22.0.88 on W10
Logged

Negasonic

  • World Citizen
  • ***
  • Posts: 115
Re: Alphabetical sort of "Å" broken
« Reply #1 on: March 27, 2017, 07:05:12 pm »

Same with Ä and Ö.

Å and Ä are treated as regular A.
Ö as a regular O.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41953
  • Shoes gone again!
Re: Alphabetical sort of "Å" broken
« Reply #2 on: March 27, 2017, 07:16:55 pm »

Letters with accents and without accents are treated as equals.  That applies to searching and sorting.
Logged
Matt Ashland, JRiver Media Center

magnust

  • Galactic Citizen
  • ****
  • Posts: 380
Re: Alphabetical sort of "Å" broken
« Reply #3 on: March 28, 2017, 12:10:41 am »

Letters with accents and without accents are treated as equals.  That applies to searching and sorting.

This wasn't the case in MC20 was it? (I just upgraded)
Logged

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392
Re: Alphabetical sort of "Å" broken
« Reply #4 on: March 28, 2017, 12:55:14 am »

It's interesting to look at paragraph 2 (concerning Swedish) in this article..

https://msdn.microsoft.com/en-us/globalization/mt662313.aspx

Logged
Author of Whitebear Digital Media Renderer Analyser - http://www.whitebear.ch/dmra.htm
Author of Whitebear - http://www.whitebear.ch/mediaserver.htm

magnust

  • Galactic Citizen
  • ****
  • Posts: 380
Re: Alphabetical sort of "Å" broken
« Reply #5 on: March 28, 2017, 12:58:33 am »

This wasn't the case in MC20 was it? (I just upgraded)

MC20:





MC22:

Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7393
  • The color of Spring...
Re: Alphabetical sort of "Å" broken
« Reply #6 on: March 28, 2017, 03:45:19 am »

There's been a decent amount of accent changes in MC22.
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 24.04 LTS Noble Numbat 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | iFi ZEN DAC 3 | Edifier R2000DB Bookshelf Speakers | Audio-Technica ATH-M50x Headphones

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41953
  • Shoes gone again!
Re: Alphabetical sort of "Å" broken
« Reply #7 on: March 28, 2017, 09:08:48 am »

Would adding an option like:
"Ignore accents when sorting"

That would be checked by default, but you could turn it off work for you?
Logged
Matt Ashland, JRiver Media Center

magnust

  • Galactic Citizen
  • ****
  • Posts: 380
Re: Alphabetical sort of "Å" broken
« Reply #8 on: March 28, 2017, 09:21:13 am »

Would adding an option like:
"Ignore accents when sorting"

That would be checked by default, but you could turn it off work for you?

Where would ÅÄÖ end up in the sort when the option is unchecked?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41953
  • Shoes gone again!
Re: Alphabetical sort of "Å" broken
« Reply #9 on: March 28, 2017, 09:27:47 am »

Coming next build:
Changed: Made ignoring accents a sort option in Options > Tree & View > Sorting.
Logged
Matt Ashland, JRiver Media Center

magnust

  • Galactic Citizen
  • ****
  • Posts: 380
Re: Alphabetical sort of "Å" broken
« Reply #10 on: March 28, 2017, 09:29:07 am »

*big hug*

 :D
Logged

Trumpetguy

  • Citizen of the Universe
  • *****
  • Posts: 974
Re: Alphabetical sort of "Å" broken
« Reply #11 on: March 28, 2017, 11:54:56 am »

Wonder how this will work with Norwegian characters. Where Sweden has ÅÄÖ, Norway has ÆØÅ (translates to Swedish characters ÄÖÅ). Sorting order in Windows has always been a pain.
Logged

Toucan

  • Recent member
  • *
  • Posts: 12
Re: Alphabetical sort of "Å" broken
« Reply #12 on: March 28, 2017, 05:56:55 pm »

That's a whole new cÅn of wÖrms.
Logged

magnust

  • Galactic Citizen
  • ****
  • Posts: 380
Re: Alphabetical sort of "Å" broken
« Reply #13 on: April 03, 2017, 09:43:18 am »

Coming next build:
Changed: Made ignoring accents a sort option in Options > Tree & View > Sorting.

Thank you, tested this in the new build 22.0.95.


When having "Ignore accents when sorting" unchecked the letter Å is correctly sorted at the end of the alphabet. Super.


But:

- Setting "Ignore accents when sorting" unchecked doesn't stick between restarts of MC. It reverts to checked.

- When choosing "Å" in a pane ("album artists (grouped)") I get both all artists named A and Å in one big pile. Same when choosing "A".




EDIT: Ooops, just remembered, "album artists (grouped)" is a calculated field someone helped me make, probably glynor  :D It's this:

If(IsEqual([Album Artist (auto)], /(Multiple Artists/)), /(Multiple Artists/), Left(FixCase(Clean([Album Artist (auto)], 2), 3), 1))
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41953
  • Shoes gone again!
Re: Alphabetical sort of "Å" broken
« Reply #14 on: April 03, 2017, 10:03:49 am »

- Setting "Ignore accents when sorting" unchecked doesn't stick between restarts of MC. It reverts to checked.

Fixed next build.  Thanks for the report.
Logged
Matt Ashland, JRiver Media Center

magnust

  • Galactic Citizen
  • ****
  • Posts: 380
Re: Alphabetical sort of "Å" broken
« Reply #15 on: April 03, 2017, 10:16:42 am »

Making a view with panes and having the first pane "Album artist (auto)" grouped by "1" (like in the pic below) and the second also "Album artist (auto)" but not grouped.


- There is no "Å" at all in the first pane. Is that the way it's supposed to work?

- If I select "A" in the first pane there is no artist with the name "Å" in the second pane which sounds correct BUT there is an album by "Ådahl" in the album list! See pic below!
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 41953
  • Shoes gone again!
Re: Alphabetical sort of "Å" broken
« Reply #16 on: April 03, 2017, 10:42:59 am »

Next build will have a little tuning for accents with the letter filters you're using.

Hopefully things will be a bit better then.
Logged
Matt Ashland, JRiver Media Center

magnust

  • Galactic Citizen
  • ****
  • Posts: 380
Re: Alphabetical sort of "Å" broken
« Reply #17 on: April 03, 2017, 10:49:01 am »

Thank you!!  :D
Logged

magnust

  • Galactic Citizen
  • ****
  • Posts: 380
Re: Alphabetical sort of "Å" broken
« Reply #18 on: April 10, 2017, 08:37:43 am »

Now (with MC 22.0.97) the settings stick. Thank you.



But this expression that worked perfect in MC20 still doesn't work in MC22.0.97:

If(IsEqual([Album Artist (auto)], /(Multiple Artists/)), /(Multiple Artists/), Left(FixCase(Clean([Album Artist (auto)], 2), 3), 1))

- When selecting "Å" in a pane based on the above expression I get both all "A" and all "Å" artists. Same when selecting "A".

- When selecting "A" in a pane based on "Album artist (auto)" I get both all "A" and all "Å" artists. There is no "Å" in the list to choose.
Logged
Pages: [1]   Go Up