# Failing to handle ZWJ ZWNJ

**URL:** https://community.mp3tag.de/t/failing-to-handle-zwj-zwnj/59699
**Category:** Mac
**Created:** [January 15, 2023, 12:55am UTC](https://community.mp3tag.de/t/failing-to-handle-zwj-zwnj/59699 "2023-01-15T00:55:28Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![rajanna](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/dec6dc/32.png) [@rajanna](https://community.mp3tag.de/u/rajanna)
#### Post date: [January 15, 2023, 12:55am UTC](https://community.mp3tag.de/t/failing-to-handle-zwj-zwnj/59699/1 "2023-01-15T00:55:28Z")

</div>

format tag field:  
Field: \_DIRECTORY  
Format: %ALBUM%

 ![Screenshot 2023-01-14 at 6.38.23 PM](https://community.mp3tag.de/uploads/default/original/2X/8/8e73b787ea665da3edd1522795e9ed05cc59bcfe.png)

1. Album (it has ZWNJ): "ರಾಜ್‌ಕುಮಾರ್"
2. Album (it has ZWJ): "ರ‍್ಯಾಂಕ್"

After the formatting is completed. The directory name will be

1. Directory (without ZWNJ): "ರಾಜ್ಕುಮಾರ್"
2. Directory (without ZWJ): "ರ್ಯಾಂಕ್"

Format function drops ZWNJ (u+200C) and ZWJ (u+200D). Both are invisible(non-printing) characters. Mac accepts them when I edit the folder directly. So, it is definitely the mp3tag, "format tag field" that is dropping the invisible(non-printing) characters.

This could be true for other invisible(non-printing) characters Non-breaking space NBSP U+00A0

Please rectify

---

<div class="post-metadata">

### Author: ![rajanna](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/dec6dc/32.png) [@rajanna](https://community.mp3tag.de/u/rajanna)
#### Post date: [January 16, 2023, 6:28pm UTC](https://community.mp3tag.de/t/failing-to-handle-zwj-zwnj/59699/2 "2023-01-16T18:28:33Z")

</div>

@Florian Please review this.

It is a bug, needs to be fixed.

---

<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: [January 16, 2023, 7:30pm UTC](https://community.mp3tag.de/t/failing-to-handle-zwj-zwnj/59699/3 "2023-01-16T19:30:15Z")

</div>

I'm not sure yet, most users are not aware of those special characters and those of Unicode General Category Cc and Cf have caused a lot of hard-to-identify support issues in the past.

---

<div class="post-metadata">

### Author: ![rajanna](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/dec6dc/32.png) [@rajanna](https://community.mp3tag.de/u/rajanna)
#### Post date: [January 17, 2023, 12:11am UTC](https://community.mp3tag.de/t/failing-to-handle-zwj-zwnj/59699/4 "2023-01-17T00:11:37Z")

</div>

They are not a strange characters, it’s part of standard Unicode set, OS should handle it just fine.

It is working fine in all tags, just the \_DIRECTORY field it’s failing

---

<div class="post-metadata">

### Author: ![rajanna](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/dec6dc/32.png) [@rajanna](https://community.mp3tag.de/u/rajanna)
#### Post date: [January 17, 2023, 5:02am UTC](https://community.mp3tag.de/t/failing-to-handle-zwj-zwnj/59699/5 "2023-01-17T05:02:07Z")

</div>

or At least is there a work around to this issue. I want to batch process folder names in unicode. It is possible they will have ZWJ, ZWNJ and I want to retain them

---

<div class="post-metadata">

### Author: ![rajanna](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/dec6dc/32.png) [@rajanna](https://community.mp3tag.de/u/rajanna)
#### Post date: [January 25, 2023, 6:17am UTC](https://community.mp3tag.de/t/failing-to-handle-zwj-zwnj/59699/6 "2023-01-25T06:17:18Z")

</div>

@Florian can u please enable at least ZWJ and ZWNJ, it is fully supported in Mac OS filesystem. It is required many scripts in unicode.

---

<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: [January 27, 2023, 7:29am UTC](https://community.mp3tag.de/t/failing-to-handle-zwj-zwnj/59699/7 "2023-01-27T07:29:22Z")

</div>

I've added support for ZWJ and ZWNJ with [Mp3tag for Mac v1.7.3](https://community.mp3tag.de/t/mp3tag-for-mac-v1-7-released/59421/5).

---

<div class="post-metadata">

### Author: ![rajanna](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/dec6dc/32.png) [@rajanna](https://community.mp3tag.de/u/rajanna)
#### Post date: [January 27, 2023, 4:35pm UTC](https://community.mp3tag.de/t/failing-to-handle-zwj-zwnj/59699/8 "2023-01-27T16:35:56Z")

</div>

@Florian Thank you very much.

I greatly appreciate the changes

---

<div class="post-metadata">

### Author: ![rajanna](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/dec6dc/32.png) [@rajanna](https://community.mp3tag.de/u/rajanna)
#### Post date: [January 27, 2023, 4:37pm UTC](https://community.mp3tag.de/t/failing-to-handle-zwj-zwnj/59699/9 "2023-01-27T16:37:41Z")

</div>

Also, I tested the renaming files in Mac OS Ventura. There is no issue.

---

<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: [February 26, 2023, 4:38pm UTC](https://community.mp3tag.de/t/failing-to-handle-zwj-zwnj/59699/10 "2023-02-26T16:38:10Z")

</div>

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