# Change Tags and Filenames without polish diacritical/accents marks

**URL:** https://community.mp3tag.de/t/change-tags-and-filenames-without-polish-diacritical-accents-marks/47394
**Category:** Support
**Created:** [January 1, 2020, 2:43pm UTC](https://community.mp3tag.de/t/change-tags-and-filenames-without-polish-diacritical-accents-marks/47394 "2020-01-01T14:43:03Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![deejaypd](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/5e9695/32.png) [@deejaypd](https://community.mp3tag.de/u/deejaypd)
#### Post date: [January 1, 2020, 2:43pm UTC](https://community.mp3tag.de/t/change-tags-and-filenames-without-polish-diacritical-accents-marks/47394/1 "2020-01-01T14:43:03Z")

</div>

Hello i need to change name of all files and id3tags and replace special accents and characters ą ę ć ź ż ó and others shits to a e c z z o (Serato dj have problem with found files location with special accents)

Im found at forum a post with .mta files [Unicode to ASCII](https://community.mp3tag.de/t/unicode-to-ascii/7279) and i add this to actions. Scripts dont gives a error but Change name and change tags is 0/23492349... files

> [@Unicode to ASCII](https://community.mp3tag.de/t/unicode-to-ascii/7279):
>
> I have created six actionsgroups for the purpose of transcoding UTF-8 Unicode characters into 7-bit ASCII characters (see attached MTA files). Each group of actions encloses a special set of Unicode characters, so that you are free to combine what replacement presentation you need. The transcoding scheme is derived from the script 'uni2ascii.c', version 2008-08-30T20:27:37, by William J. Poser (billposer@alum.mit.edu), including some small changes by me. I do not know if the MTA files will do…

Somebody can help me?

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [January 1, 2020, 3:28pm UTC](https://community.mp3tag.de/t/change-tags-and-filenames-without-polish-diacritical-accents-marks/47394/2 "2020-01-01T15:28:04Z")

</div>

> [@deejaypd](#):
>
> ą ę ć ź and others shits to a e c z

if that what you find does not meet your requirements, create yourself a new action of the type "Format value" for the field  
Format string: `$replace(%fieldname%,ą,a,ę,e,ć,c,ź,z)`

Also, see this thread:

> [@\[X\] handling polish diacritical characters](https://community.mp3tag.de/t/x-handling-polish-diacritical-characters/2648):
>
> Hi! Although Mp3tag is a great tool, it becomes useless when it comes to handling polish diacritical characters in tags and filenames. The problems I have are as follows: Mp3tag displays strange characters in place of polish characters in tag edition fields, corectly entered in those fields polish characters are changed to incorect characters (squares), changing filename according to a tag with polish diacritical characters results in wrong filenames (like with the two above issues to square…

---

<div class="post-metadata">

### Author: ![deejaypd](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/5e9695/32.png) [@deejaypd](https://community.mp3tag.de/u/deejaypd)
#### Post date: [January 1, 2020, 4:58pm UTC](https://community.mp3tag.de/t/change-tags-and-filenames-without-polish-diacritical-accents-marks/47394/3 "2020-01-01T16:58:48Z")

</div>

![1](https://community.mp3tag.de/uploads/default/original/2X/e/e311b1cd08e2fc39993b4e8850cf51c902cae3af.png) ![2](https://community.mp3tag.de/uploads/default/original/2X/b/bb16b07b18546df986a79cf39dff21f29e80bae1.png)

Dont working ☹  
You cannot create a file that already exists. Error  
And mp3tag try to create file without name only .mp3

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [January 1, 2020, 5:31pm UTC](https://community.mp3tag.de/t/change-tags-and-filenames-without-polish-diacritical-accents-marks/47394/4 "2020-01-01T17:31:57Z")

</div>

THe %fieldname% in my example stands for the field name and should be replaced with the real field name like %artist%, %title% etc.  
It would be best if you replaced all the characters in the fields first and then rename the file from the tag fields. Otherwise it could be that you try to rename a file even though the name is still the same - which then leads to the observed behaviour.

---

<div class="post-metadata">

### Author: ![deejaypd](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/5e9695/32.png) [@deejaypd](https://community.mp3tag.de/u/deejaypd)
#### Post date: [January 1, 2020, 6:53pm UTC](https://community.mp3tag.de/t/change-tags-and-filenames-without-polish-diacritical-accents-marks/47394/5 "2020-01-01T18:53:13Z")

</div>

Its possible to first change filenames and after tags? Not all music have id3tags

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [January 1, 2020, 6:56pm UTC](https://community.mp3tag.de/t/change-tags-and-filenames-without-polish-diacritical-accents-marks/47394/6 "2020-01-01T18:56:21Z")

</div>

Make sure that you have a function call for the \_FILENAME that looks like  
`$replace(%_filename%,ą,a,ę,e,ć,c)`  
If you have filenames and no tag data, I would seriously consider to import the original data from the filename first.

---

<div class="post-metadata">

### Author: ![deejaypd](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/5e9695/32.png) [@deejaypd](https://community.mp3tag.de/u/deejaypd)
#### Post date: [January 1, 2020, 7:08pm UTC](https://community.mp3tag.de/t/change-tags-and-filenames-without-polish-diacritical-accents-marks/47394/7 "2020-01-01T19:08:22Z")

</div>

Yep im try this. This working 😉

 ![4](https://community.mp3tag.de/uploads/default/original/2X/1/10a52c00380914ce42ee79b62d73727683526a0a.png) ![5](https://community.mp3tag.de/uploads/default/original/2X/0/086c5330aeee93d119498d2dca44837708154ab3.png)

But change only FILENAMES titles and artist is still not changed.. Im need to change it in namesfile and id3tags(but not all mp3 have id3tags) If im add 2 more function to replace TITLE and ARTIST. Then all Time removing all ID3TAGS from my .mp3

 ![6](https://community.mp3tag.de/uploads/default/original/2X/1/1928f18b0d9e979a5f0b42e0b51b0c3eee2a938b.png)

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [January 1, 2020, 7:12pm UTC](https://community.mp3tag.de/t/change-tags-and-filenames-without-polish-diacritical-accents-marks/47394/8 "2020-01-01T19:12:48Z")

</div>

> [@ohrenkino](#):
>
> The %fieldname% in my example stands for the field name and should be replaced with the real field name like %artist%, %title% etc.

You have to update your actions so that they do not show %fieldname% any more but a real field name.

---

<div class="post-metadata">

### Author: ![deejaypd](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/5e9695/32.png) [@deejaypd](https://community.mp3tag.de/u/deejaypd)
#### Post date: [January 1, 2020, 7:25pm UTC](https://community.mp3tag.de/t/change-tags-and-filenames-without-polish-diacritical-accents-marks/47394/9 "2020-01-01T19:25:47Z")

</div>

Ahh okey, now working but copy title to nulled field(in this situation is ARTIST). ☹ you have some ideas for fix? Thanks for helping 🙂

 ![work](https://community.mp3tag.de/uploads/default/original/2X/5/504b4e4fe96ccb5660171ce3a46cc0a76c4a2927.png)

@edit

Ah sorry im see bad 😉 need to change %\_filename% to %title% and artist 😉 All working. Thanks for helping 😉

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [January 1, 2020, 7:31pm UTC](https://community.mp3tag.de/t/change-tags-and-filenames-without-polish-diacritical-accents-marks/47394/11 "2020-01-01T19:31:16Z")

</div>

If you work on data that is not there, then nothing happens.  
Still, the lower 2 actions in the screendump still show an action that does not look as though it makes sense: you put the processed data from the filename into the field ARTIST and TITLE.  
I would have expected that if you treat the data in ARTIST that you then want to replace all the characters from the field ARTIST and not \_FILENAME.  
The same applies to TITLE.  
So please update the actions.

---

<div class="post-metadata">

### Author: ![deejaypd](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/5e9695/32.png) [@deejaypd](https://community.mp3tag.de/u/deejaypd)
#### Post date: [January 1, 2020, 7:32pm UTC](https://community.mp3tag.de/t/change-tags-and-filenames-without-polish-diacritical-accents-marks/47394/12 "2020-01-01T19:32:14Z")

</div>

Yep this is my bad 😉 All working. Thanks for help

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [January 31, 2020, 7:32pm UTC](https://community.mp3tag.de/t/change-tags-and-filenames-without-polish-diacritical-accents-marks/47394/13 "2020-01-31T19:32:18Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
