# Ascii character issue

**URL:** <https://community.mp3tag.de/t/ascii-character-issue/63196>\
**Category:** Support\
**Created:** [December 24, 2023, 2:47pm UTC](https://community.mp3tag.de/t/ascii-character-issue/63196 "2023-12-24T14:47:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fpefpe](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/71c47a/32.png) [@fpefpe](https://community.mp3tag.de/u/fpefpe)\
**Post date:** [December 24, 2023, 2:47pm UTC](https://community.mp3tag.de/t/ascii-character-issue/63196/1 "2023-12-24T14:47:24Z")

</div>

Hello --- I am having an issue with high ascii characters in some of the tags --- where would I find the option to set up a translate table for the characters I need to convert --- also can the characters be specified in hex notation? Thanks

---

<div class="post-metadata">

**Author:** ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)\
**Post date:** [December 24, 2023, 3:48pm UTC](https://community.mp3tag.de/t/ascii-character-issue/63196/2 "2023-12-24T15:48:50Z")

</div>

Could you please show us a screenshot from a real example?

There is no "translation table", but you can use the scripting function  
`$replace`

 ![image](https://community.mp3tag.de/uploads/default/original/2X/b/bf45278d013d02de6e464bb40cb33a0e62043469.png)  
to search for a specific character and replace this character - if found - with another one.

You can use one `$replace` command for several parameter pairs.

---

<div class="post-metadata">

**Author:** ![fpefpe](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/71c47a/32.png) [@fpefpe](https://community.mp3tag.de/u/fpefpe)\
**Post date:** [December 24, 2023, 11:14pm UTC](https://community.mp3tag.de/t/ascii-character-issue/63196/3 "2023-12-24T23:14:19Z")

</div>

Hello — Thanks for the reply — I don’t think I can get a screen shot, since I have written script in an older language that does not handle files with high Ascii characters (\>127) very well

For the most part I will rip a cd using EAC into FLAC format. From then I convert to MP3 — the issue then the script reads the directory with the FLAC file, it could get a filename with a character that were converted from utf-16 (windows schema) to ascii character and that  
character it seems does not convert back to the utf-16 code point so when the file is accessed it is not found

The issue seems to center around the dash (-) and the apostrophe  
(‘), the ascii value for each would be 0x2D and 0x27. In some case 0x97 and 0x92 are use – that is the issue

Is there a way to specify in the $replace function these hex values?

---

<div class="post-metadata">

**Author:** ![Crissov](https://community.mp3tag.de/user_avatar/community.mp3tag.de/crissov/32/6619_2.png) [@Crissov](https://community.mp3tag.de/u/Crissov)\
**Post date:** [December 24, 2023, 11:29pm UTC](https://community.mp3tag.de/t/ascii-character-issue/63196/4 "2023-12-24T23:29:48Z")

</div>

I think you are looking for the [`$char()` function](https://docs.mp3tag.de/scripting/#string-functions) and a table of the [Windows-1252 character set](https://en.wikipedia.org/wiki/Windows-1252#Codepage_layout), 0x80–9F = 128–159.

---

<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 15, 2026, 8:12am UTC](https://community.mp3tag.de/t/ascii-character-issue/63196/5 "2026-01-15T08:12:42Z")

</div>

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