# Mp3Tag is not replacing some pesky characters from the file name

**URL:** https://community.mp3tag.de/t/mp3tag-is-not-replacing-some-pesky-characters-from-the-file-name/46424
**Category:** General Discussion
**Created:** [September 14, 2019, 6:21pm UTC](https://community.mp3tag.de/t/mp3tag-is-not-replacing-some-pesky-characters-from-the-file-name/46424 "2019-09-14T18:21:16Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jrsousa2](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/278dde/32.png) [@jrsousa2](https://community.mp3tag.de/u/jrsousa2)
#### Post date: [September 14, 2019, 6:21pm UTC](https://community.mp3tag.de/t/mp3tag-is-not-replacing-some-pesky-characters-from-the-file-name/46424/1 "2019-09-14T18:21:16Z")

</div>

I want to remove characters with Ascii codes 226, 128 and 142 from the file names.  
They create a lot of trouble.  
A display in UTF-8 from SAS creates the following garbage characters.

29 %put # &kw1;

# �

30 %put # &kw2;

# �

31 %put # &kw3;

# �

I tried to create removal rules in Mp3Tag using Alt+Ascii codes, and thought it might work, but apparently (probably) they weren't removed.

![image](https://community.mp3tag.de/uploads/default/original/2X/8/8ccff79a256aee88c2a711be304de1f579616839.png)

Hum, I just noticed these are multibyte characters from UTF-8, so maybe that's why it's not working.

Here's a screenshot of the characters I need to remove (in yellow):

 ![image](https://community.mp3tag.de/uploads/default/original/2X/d/da659ca95cc542ca23a48a37f5e607f35674c6ab.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: [September 14, 2019, 9:41pm UTC](https://community.mp3tag.de/t/mp3tag-is-not-replacing-some-pesky-characters-from-the-file-name/46424/2 "2019-09-14T21:41:58Z")

</div>

Before we discuss at length how to manipulate the filename itself - what about using Convert\>Tag-Filename and rewrite the complete filename without the unwanted characters?  
If you state that MP3tag's replace function does not work I think it would be fair to show us what your strings for search and replace look like.

---

<div class="post-metadata">

### Author: ![Patch](https://community.mp3tag.de/user_avatar/community.mp3tag.de/patch/32/9350_2.png) [@Patch](https://community.mp3tag.de/u/Patch)
#### Post date: [September 15, 2019, 6:29pm UTC](https://community.mp3tag.de/t/mp3tag-is-not-replacing-some-pesky-characters-from-the-file-name/46424/3 "2019-09-15T18:29:16Z")

</div>

This thread helps:

> [@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…
