# Case conversion...

**URL:** https://community.mp3tag.de/t/case-conversion/11684
**Category:** Support
**Created:** [March 9, 2011, 12:03pm UTC](https://community.mp3tag.de/t/case-conversion/11684 "2011-03-09T12:03:26Z")
**Posts on this page:** 20
**Page:** 4

<div class="post-metadata">

### Author: ![yog-sothoth](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/y/898d66/32.png) [@yog-sothoth](https://community.mp3tag.de/u/yog-sothoth)
#### Post date: [April 6, 2011, 4:03pm UTC](https://community.mp3tag.de/t/case-conversion/11684/61 "2011-04-06T16:03:22Z")

</div>

Script Updated

v.0.3.2 beta

- FIXED: Ellipses spacing error.
- FIXED: Case formatting error with articles and prepositions after stopped acronyms.
- ADDED: 'n' abbreviation to lower-case.
- FIXED: Problem with 'Mac' Scottish surname action; replaced with editable correction list.

---

<div class="post-metadata">

### Author: ![yog-sothoth](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/y/898d66/32.png) [@yog-sothoth](https://community.mp3tag.de/u/yog-sothoth)
#### Post date: [May 8, 2011, 8:56pm UTC](https://community.mp3tag.de/t/case-conversion/11684/62 "2011-05-08T20:56:50Z")

</div>

Script Updated

v.1.0

- FIXED: Digit grouping format error with thousands separator (space after comma).
- ADDED: "Featuring" abbreviations ("Feat." and "Ft.") now convert to lowercase.

---

<div class="post-metadata">

### Author: ![Flskydiver](https://community.mp3tag.de/user_avatar/community.mp3tag.de/flskydiver/32/8129_2.png) [@Flskydiver](https://community.mp3tag.de/u/Flskydiver)
#### Post date: [May 13, 2011, 2:10pm UTC](https://community.mp3tag.de/t/case-conversion/11684/63 "2011-05-13T14:10:37Z")

</div>

> [@DetlevD](#):
>
> Hmm, yes, but it does not replace the illegal characters with legal characters.
> 
> You may get "problems" with ... e. g.
> 
> - "AC/DC"

I substituted the AC/DC slash with this "ACϞDC".

Looks horrible here on the forum but looks like a perfect lightning bolt on Windows 7 and in my iPhone. Plus, it isn't a banned character.

 ![](https://community.mp3tag.de/uploads/default/original/2X/5/50945b6414e7a2da934a5cf35441096ac658e178.jpg)

---

<div class="post-metadata">

### Author: ![Flskydiver](https://community.mp3tag.de/user_avatar/community.mp3tag.de/flskydiver/32/8129_2.png) [@Flskydiver](https://community.mp3tag.de/u/Flskydiver)
#### Post date: [May 22, 2011, 6:57pm UTC](https://community.mp3tag.de/t/case-conversion/11684/64 "2011-05-22T18:57:38Z")

</div>

> [@yog-sothoth](#):
>
> Script Updated

Hey, thanks for this! (and all who participated!)

I find it a bit overwhelming to figure out what is happening all at once ... is there a key that explains what each step does? Some I think are easier to figure out than others.

Best regards...

---

<div class="post-metadata">

### Author: ![yog-sothoth](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/y/898d66/32.png) [@yog-sothoth](https://community.mp3tag.de/u/yog-sothoth)
#### Post date: [May 22, 2011, 7:37pm UTC](https://community.mp3tag.de/t/case-conversion/11684/65 "2011-05-22T19:37:07Z")

</div>

> [@Flskydiver](#):
>
> is there a key that explains what each step does? Some I think are easier to figure out than others.

Open the .mta files in a text editor. There's a short description above each action.

---

<div class="post-metadata">

### Author: ![Flskydiver](https://community.mp3tag.de/user_avatar/community.mp3tag.de/flskydiver/32/8129_2.png) [@Flskydiver](https://community.mp3tag.de/u/Flskydiver)
#### Post date: [May 22, 2011, 10:28pm UTC](https://community.mp3tag.de/t/case-conversion/11684/66 "2011-05-22T22:28:24Z")

</div>

> [@yog-sothoth](#):
>
> Open the .mta files in a text editor. There's a short description above each action.

Doh! Awesome! Thanks a bunch!

---

<div class="post-metadata">

### Author: ![yog-sothoth](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/y/898d66/32.png) [@yog-sothoth](https://community.mp3tag.de/u/yog-sothoth)
#### Post date: [May 23, 2011, 4:13pm UTC](https://community.mp3tag.de/t/case-conversion/11684/67 "2011-05-23T16:13:30Z")

</div>

You're welcome. Good idea for the \ substitute, I'm gonna use that one. 😉

---

<div class="post-metadata">

### Author: ![Flskydiver](https://community.mp3tag.de/user_avatar/community.mp3tag.de/flskydiver/32/8129_2.png) [@Flskydiver](https://community.mp3tag.de/u/Flskydiver)
#### Post date: [May 29, 2011, 9:08pm UTC](https://community.mp3tag.de/t/case-conversion/11684/68 "2011-05-29T21:08:13Z")

</div>

It occurred to me you might like this one, too, then:

The Glottal stop character ''Ɂ'' for ''?''.

Personally, I allow question marks in my tags, I just substitute them with the Glottal stop character when I rename the files. By default, all question marks and other banned characters get erased (or replaced with underscores) when renaming files. But especially on an album like Pink Floyd's "The Wall", which has tracks named both "In the Flesh" and "In the Flesh?" that is undesirable.

I also replace quotes " with two apostrophes '' and (in the tags themselves) dashes - with bullets · (Alt-0183). The replacing of dashes I think is especially useful since most of us use the dash to delineate one field from another on renaming or export.

Example one a couple of my file rename settings to handle the quotes and question marks:

```
$replace($if2(%artistsort%,%artist) - %title%,/,·,?,Ɂ,",'')

$replace($if2(%artistsort%,%artist) - %album% - $num(%track%,2) - %title%,/,·,?,Ɂ,",'')
```

---

<div class="post-metadata">

### Author: ![code46](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/7ab992/32.png) [@code46](https://community.mp3tag.de/u/code46)
#### Post date: [September 5, 2011, 2:12am UTC](https://community.mp3tag.de/t/case-conversion/11684/69 "2011-09-05T02:12:59Z")

</div>

This seems like a great script.

Does one have to the delimiting character set to '' in order for it to work properly? Currently my delimiting character is set to ';' and I'm wondering if I can use the Grammartron script.

---

<div class="post-metadata">

### Author: ![Flskydiver](https://community.mp3tag.de/user_avatar/community.mp3tag.de/flskydiver/32/8129_2.png) [@Flskydiver](https://community.mp3tag.de/u/Flskydiver)
#### Post date: [September 5, 2011, 2:18am UTC](https://community.mp3tag.de/t/case-conversion/11684/70 "2011-09-05T02:18:37Z")

</div>

Fwiw, I use a hyphen (dash, "-") and it seems to work for me. I've cherry picked parts I like though, and don't apply it globally to all my tags at once, preferring to work on one tag or just a few at a time.

---

<div class="post-metadata">

### Author: ![yog-sothoth](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/y/898d66/32.png) [@yog-sothoth](https://community.mp3tag.de/u/yog-sothoth)
#### Post date: [September 5, 2011, 9:33am UTC](https://community.mp3tag.de/t/case-conversion/11684/71 "2011-09-05T09:33:33Z")

</div>

> [@code46](#):
>
> Does one have to the delimiting character set to '' in order for it to work properly? Currently my delimiting character is set to ';' and I'm wondering if I can use the Grammartron script.

That depends on whether or not you want a space to precede it. Any spaces before a semi-colon are automatically trimmed, whilst with slashes they are not.

---

<div class="post-metadata">

### Author: ![JoshTheTraveler](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/d6d6ee/32.png) [@JoshTheTraveler](https://community.mp3tag.de/u/JoshTheTraveler)
#### Post date: [March 28, 2012, 8:19am UTC](https://community.mp3tag.de/t/case-conversion/11684/72 "2012-03-28T08:19:15Z")

</div>

> [@yog-sothoth](#):
>
> Script Updated
> 
> v.1.0
> 
> - FIXED: Digit grouping format error with thousands separator (space after comma).
> - ADDED: "Featuring" abbreviations ("Feat." and "Ft.") now convert to lowercase.

I'm wondering why the links above to DL the script that was compiled in the prior pages was erased and if they're located somewhere else instead.  
Thanks,  
J

---

<div class="post-metadata">

### Author: ![yog-sothoth](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/y/898d66/32.png) [@yog-sothoth](https://community.mp3tag.de/u/yog-sothoth)
#### Post date: [March 29, 2012, 12:06am UTC](https://community.mp3tag.de/t/case-conversion/11684/73 "2012-03-29T00:06:40Z")

</div>

> [@JoshTheTraveler](#):
>
> I'm wondering why the links above to DL the script that was compiled in the prior pages was erased and if they're located somewhere else instead.  
> Thanks,  
> J

It's not a link, it's just underscored. The real link is in the original post on the first page.

---

<div class="post-metadata">

### Author: ![daktari](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/6bbea6/32.png) [@daktari](https://community.mp3tag.de/u/daktari)
#### Post date: [April 11, 2012, 4:20am UTC](https://community.mp3tag.de/t/case-conversion/11684/74 "2012-04-11T04:20:12Z")

</div>

Wow. Just wow.

I've only been tagging newly added songs correctly for the last eight months or so, and I was reluctant to hand tag the other 14000 files to get rid of the capitalization of a, an, the, and, but, or, nor, for, yet, so, as, at, by, for, in, of, to, and from.

The work done here is OUTSTANDING, and I thank you for your efforts.

+1 internets for all of you who contributed!

---

<div class="post-metadata">

### Author: ![dreamslides](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/5fc32e/32.png) [@dreamslides](https://community.mp3tag.de/u/dreamslides)
#### Post date: [May 7, 2012, 3:43pm UTC](https://community.mp3tag.de/t/case-conversion/11684/75 "2012-05-07T15:43:33Z")

</div>

Hey can you guys take a look at this perl script? I'd like to have the same thing for use in mp3tag.

[http://bazaar.launchpad.net/~openshift/pic...-1/titlecase.py](http://bazaar.launchpad.net/~openshift/pic...-1/titlecase.py)

It basically follows the New York Times Manual of Style to decide on what words are capital, lowercase, etc. which is widely accepted standard in the english language. Perhaps someone here can convert it to a mp3tag script?

* * *

I tried your script, it's alright but I only want it's actions applied to the Title, Artist, and Album fields not the AccurateRipResults/Source/Encoder fields. Can you advise?

---

<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 7, 2012, 4:22pm UTC](https://community.mp3tag.de/t/case-conversion/11684/76 "2012-05-07T16:22:26Z")

</div>

> [@dreamslides](#):
>
> Hey can you guys take a look at this perl script? I'd like to have the same thing for use in mp3tag. ... It basically follows the New York Times Manual of Style to decide on what words are capital, lowercase, etc. which is widely accepted standard in the english language. Perhaps someone here can convert it to a mp3tag script? ...

You did already asked this question in another thread within this support forum.  
[New York Times Manual of Style script?](https://community.mp3tag.de/t/13401/1)  
Go over there to follow possible responses.

DD.20120507.2014.CEST

---

<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: [May 7, 2012, 4:30pm UTC](https://community.mp3tag.de/t/case-conversion/11684/77 "2012-05-07T16:30:50Z")

</div>

> [@dreamslides](#):
>
> ...
> 
> I tried your script, it's alright but I only want it's actions applied to the Title, Artist, and Album fields not the AccurateRipResults/Source/Encoder fields. Can you advise?

Which script did you try? The grammatron or the one from doug?  
The latter does not use the \_TAG variable to handle more or less all fields...

---

<div class="post-metadata">

### Author: ![dreamslides](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/5fc32e/32.png) [@dreamslides](https://community.mp3tag.de/u/dreamslides)
#### Post date: [May 7, 2012, 5:25pm UTC](https://community.mp3tag.de/t/case-conversion/11684/78 "2012-05-07T17:25:03Z")

</div>

> [@DetlevD](#):
>
> You did already asked this question in another thread within this support forum.  
> [New York Times Manual of Style script?](https://community.mp3tag.de/t/13401/1)  
> Go over there to follow possible responses.
> 
> DD.20120507.2014.CEST

Yea and that guy told me to come here :S

---

<div class="post-metadata">

### Author: ![dreamslides](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/5fc32e/32.png) [@dreamslides](https://community.mp3tag.de/u/dreamslides)
#### Post date: [May 7, 2012, 5:25pm UTC](https://community.mp3tag.de/t/case-conversion/11684/79 "2012-05-07T17:25:44Z")

</div>

> [@ohrenkino](#):
>
> Which script did you try? The grammatron or the one from doug?  
> The latter does not use the \_TAG variable to handle more or less all fields...

I used the grammatron one, what do you mean the one by Doug?

---

<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: [May 7, 2012, 5:30pm UTC](https://community.mp3tag.de/t/case-conversion/11684/80 "2012-05-07T17:30:49Z")

</div>

> [@dreamslides](#):
>
> I used the grammatron one, what do you mean the one by Doug?

see post #4 of this thread

[Previous page](https://community.mp3tag.de/t/case-conversion/11684.md?page=3)

[Next page](https://community.mp3tag.de/t/case-conversion/11684.md?page=5)
