# 3.08b Unwanted case conversion

**URL:** https://community.mp3tag.de/t/3-08b-unwanted-case-conversion/54237
**Category:** Fixed Bugs
**Tags:** bug-fixed
**Created:** [August 30, 2021, 4:27pm UTC](https://community.mp3tag.de/t/3-08b-unwanted-case-conversion/54237 "2021-08-30T16:27:34Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Labdoc](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/f17d59/32.png) [@Labdoc](https://community.mp3tag.de/u/Labdoc)
#### Post date: [August 30, 2021, 4:27pm UTC](https://community.mp3tag.de/t/3-08b-unwanted-case-conversion/54237/1 "2021-08-30T16:27:34Z")

</div>

I have used this string for a long time to copy the Title Tag to the File Name:  
$num(%track%,2)- $validate(%title%,-)  
Today, with 3.08b, I get unwanted case conversions. When I revert to v.3.08, there is no case conversion.  
Example  
Title Tag: Scarlatti; Keyboard Sonata K.516 'Allegretto' in D-m  
File rename wanted: Scarlatti; Keyboard Sonata K.516 'Allegretto' in D\*\*-m\*\* (same as Tag)  
File rename with 3.08b: Scarlatti; Keyboard Sonata K.516 'Allegretto' in D\*\*-M\*\*  
Note the change from D-minor to D-Major. The abbreviations of the musical key are those used in Musichi for cataloging compositions.

---

<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: [August 30, 2021, 4:59pm UTC](https://community.mp3tag.de/t/3-08b-unwanted-case-conversion/54237/2 "2021-08-30T16:59:56Z")

</div>

You are right: the culprit is the dot in K.516 - which I think is due to the  
"FIX: renaming files with creating folders could possibly result in invalid folders names ending with spaces or dots" in 3.08a

---

<div class="post-metadata">

### Author: ![Labdoc](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/f17d59/32.png) [@Labdoc](https://community.mp3tag.de/u/Labdoc)
#### Post date: [August 30, 2021, 6:33pm UTC](https://community.mp3tag.de/t/3-08b-unwanted-case-conversion/54237/3 "2021-08-30T18:33:28Z")

</div>

![1 File before rename](https://community.mp3tag.de/uploads/default/original/2X/4/416b88bd02a985436e773e7361541f4df991e050.jpeg)  
 ![2 Rename operation](https://community.mp3tag.de/uploads/default/original/2X/b/b19c662531f6ad341791aa2d3bf810d597a34e23.jpeg)  
 ![4 File after rename](https://community.mp3tag.de/uploads/default/original/2X/9/9e891cdaf091c8fe417b7e58a6f2cb2f62675497.jpeg)

I am a bit late replying to the request for screen shots. See attached.(#3 Preview deleted due to limit for new users on forum)

---

<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: [August 30, 2021, 6:36pm UTC](https://community.mp3tag.de/t/3-08b-unwanted-case-conversion/54237/4 "2021-08-30T18:36:55Z")

</div>

Sorry for the extra work but I think it still helps as it shows that everything following the dot becomes lower case.

---

<div class="post-metadata">

### Author: ![Labdoc](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/f17d59/32.png) [@Labdoc](https://community.mp3tag.de/u/Labdoc)
#### Post date: [August 30, 2021, 6:38pm UTC](https://community.mp3tag.de/t/3-08b-unwanted-case-conversion/54237/5 "2021-08-30T18:38:15Z")

</div>

I confirmed that "K517" works as expected, without case change.

But I am not creating folders, just renaming a file. Tag to Filename operation

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [August 31, 2021, 5:58am UTC](https://community.mp3tag.de/t/3-08b-unwanted-case-conversion/54237/6 "2021-08-31T05:58:16Z")

</div>

> [@Labdoc](#):
>
> File rename with 3.08b: Scarlatti; Keyboard Sonata K.516 'Allegretto' in D\*\*-M\*\*

I don't get your result. I get:  
`Scarlatti; Keyboard. Sonata K.516 'allegretto' in d-m.wav`  
So everything after the dot is written in lower case.

It seems that **$validate( )** is broken if there is a dot in the placeholder-content.

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [September 4, 2021, 9:53am UTC](https://community.mp3tag.de/t/3-08b-unwanted-case-conversion/54237/7 "2021-09-04T09:53:34Z")

</div>

Many thanks for reporting and the helpful analysis of the issue from all of you. I've fixed the regression with [Mp3tag v3.08c](https://community.mp3tag.de/t/455).

---

<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: [October 4, 2021, 9:53am UTC](https://community.mp3tag.de/t/3-08b-unwanted-case-conversion/54237/8 "2021-10-04T09:53:51Z")

</div>

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