Post Reply 
Accented Characters in Tags: iTunes vs FLAC, etc.
27-07-2015, 12:12
Post: #14
RE: Accented Characters in Tags: iTunes vs FLAC, etc.
(23-04-2015 12:49)qblack Wrote:  magister:
Thanks for the reply and apologies for just noticing it.

Since Simon showed me the existence of the decomposed forms for UTF-8 strings, I've been reading up on UTF-8 and precomposed vs decomposed forms myself. Now that I understand that the Mac's HFS+ file system uses the decomposed form for extended characters, I realise my "problem" was expected behaviour.

Because I run Mavericks (and Yosemite) on my Macs, I have been able to modify my Applescripts very simply to convert from decomposed to precomposed.

The one line of code required uses Cocoa's NSString's precomposedStringWithCanonicalMapping method. Simples!

Simon:
I endorse your investigation and hope it's as simple for you!

Thanks, all, for the education!

This change will be in the next MinimServer update. I have tested the performance impact and it doesn't appear to be significant.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Accented Characters in Tags: iTunes vs FLAC, etc. - simoncn - 27-07-2015 12:12

Forum Jump:


User(s) browsing this thread: 1 Guest(s)