Welcome Guest

Pages: 1
replacing diacritic characters
2manyFLACPostAugust 23, 2025, 05:49
Newbie
Posts: 12
Registered:
September 20, 2015, 11:49
Normal topicreplacing diacritic characters

is there a simple way to swap diacritic marks ( ì í î ï ǐ ĩ ī ı į = i for example) across all fields?

2MR2PostAugust 23, 2025, 08:31
Avatar photo
Administrator
Posts: 2362
Registered:
August 23, 2012, 19:27
Normal topicreplacing diacritic characters

There’s a Re-encode function in the Multi Field Editor and a same named action statement. It has a Remove Accents function. You can select whatever fields you want (or all from the context menu in the table).

2manyFLACPostAugust 26, 2025, 12:46
Newbie
Posts: 12
Registered:
September 20, 2015, 11:49
Normal topicreplacing diacritic characters

fabulous, thank you.

CarlinSmithPostAugust 27, 2025, 08:12
Beginner
Posts: 41
Registered:
January 1, 2020, 15:15
Normal topicreplacing diacritic characters

As a follow-up question to this can you describe the precise way to write NFC compatible files names on macOS? Like described here I already use NFC compatible tags but the files get written NFD typically. I play the files downstream on a linux based device and want best file compatibility for creating playlists on the computer. I currently use a python script to convert to NFC compatible text in the m3u files I transfer to the playback device.

2MR2PostAugust 27, 2025, 10:25
Avatar photo
Administrator
Posts: 2362
Registered:
August 23, 2012, 19:27
Normal topicreplacing diacritic characters

Yah, Macs like UNFD. There is currently no way to force this while renaming. You'd have to compose your filename in an action and then use the Re-Encode statement's Force Unicode UNFC function. If you place the filename in a track variable you can use a track variable in the rename template to rename the files. You can then associate the action as R in the action manager which will make the action available on a Rename menu.

Sample action for a simple filename of Title:

Copy the Title field to Variable 1
Re-encode Variable 1 to Unicode UNFC
Rename Files (Variable 1), silent

The Variable 1 rename template could be:

❨Variable 1❩
❨IfDup❩
     (❨Dup #❩)

Make sure that encoding is set to No Change in the rename template. Many of the encoding manipulations mess with the Unicode encoding.

Just be aware that I have no idea how Apple will manipulate the filenames when they're passed to Apple's APIs. They do what they want.

In a subsequent release, I'll add the ability to force UNFC or UNFD in the template's encoding control. More than likely in v8.3.

2MR2PostAugust 28, 2025, 15:34
Avatar photo
Administrator
Posts: 2362
Registered:
August 23, 2012, 19:27
Normal topicreplacing diacritic characters

Just as a follow up, the Advanced settings panel in the Rename Template Editor will be able to force UNFC or UNFD. This has been implemented in the v8.3 code stream.

2MR2PostSeptember 6, 2025, 13:48
Avatar photo
Administrator
Posts: 2362
Registered:
August 23, 2012, 19:27
Normal topicreplacing diacritic characters

In case you haven't noticed, v8.3 was released with the template support for forcing UNFC

Pages: 1
Mingle Forum by Cartpauj | Version: 1.1.0beta | Page loaded in: 0.114 seconds.