# Is it possible to revert order of chars in tags?

**URL:** https://community.mp3tag.de/t/is-it-possible-to-revert-order-of-chars-in-tags/12059
**Category:** General Discussion
**Created:** [May 30, 2011, 6:54am UTC](https://community.mp3tag.de/t/is-it-possible-to-revert-order-of-chars-in-tags/12059 "2011-05-30T06:54:36Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![BladesMaster](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/ebca7d/32.png) [@BladesMaster](https://community.mp3tag.de/u/BladesMaster)
#### Post date: [May 30, 2011, 6:54am UTC](https://community.mp3tag.de/t/is-it-possible-to-revert-order-of-chars-in-tags/12059/1 "2011-05-30T06:54:36Z")

</div>

I have Logitech Squeezebox Touch device, that supports Hebrew fonts, but does not keep proper Hebrew right to left order. I have a lot of compositions with Hebrew tags and in order to keep Squeezebox displaying them properly, I need to revert order of symbols in tags. For example,  
ABCDE must be converted to EDCBA independently of tag length.  
Can it be done with regular expressions?

Please help  
Best regards

BladesMaster

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [May 30, 2011, 7:06am UTC](https://community.mp3tag.de/t/is-it-possible-to-revert-order-of-chars-in-tags/12059/2 "2011-05-30T07:06:57Z")

</div>

> [@BladesMaster](#):
>
> I have Logitech Squeezebox Touch device, that supports Hebrew fonts, but does not keep proper Hebrew right to left order. ...

Did you have searched / googled for "Logitech Squeezebox Touch LTR RTL read direction".  
Aren't there any suggestions how to configure this thing for proper comfort?

> [@BladesMaster](#):
>
> ... I need to revert order of symbols in tags. For example, ABCDE must be converted to EDCBA independently of tag length.  
> Can it be done with regular expressions? ...

Maybe it can be done by Regular Expression, when recursion for Regexp is available and someone is willing to build such an expression.

But there is an easier way already available: the Mp3tag Scripting Function **$reverse**.

DD.20110530.1120.CEST

---

<div class="post-metadata">

### Author: ![BladesMaster](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/ebca7d/32.png) [@BladesMaster](https://community.mp3tag.de/u/BladesMaster)
#### Post date: [May 30, 2011, 8:28am UTC](https://community.mp3tag.de/t/is-it-possible-to-revert-order-of-chars-in-tags/12059/3 "2011-05-30T08:28:32Z")

</div>

> [@DetlevD](#):
>
> Did you have searched / googled for "Logitech Squeezebox Touch LTR RTL read direction".  
> Aren't there any suggestions how to configure this thing for proper comfort?

Of course this is a first thing I tried and found, that this is a well-known bug/limitation. but because of they have no full Hebrew/Arab localization, they are not intend to fix it.  
Thank you for reverse function explanation
