# Some unicode forms break mount on macOS with FUSE-T

**URL:** <https://forum.rclone.org/t/some-unicode-forms-break-mount-on-macos-with-fuse-t/36403>\
**Category:** Suspected Bug\
**Created:** [February 27, 2023, 2:17pm UTC](https://forum.rclone.org/t/some-unicode-forms-break-mount-on-macos-with-fuse-t/36403 "2023-02-27T14:17:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwink3101](https://forum.rclone.org/letter_avatar_proxy/v4/letter/j/b38774/32.png) [@jwink3101](https://forum.rclone.org/u/jwink3101)\
**Post date:** [February 27, 2023, 2:17pm UTC](https://forum.rclone.org/t/some-unicode-forms-break-mount-on-macos-with-fuse-t/36403/1 "2023-02-27T14:17:30Z")

</div>

#### What is the problem you are having with rclone?

Certain unicode normalized files are breaking my mount. I thought this was an issue with FUSE-T and created [Cannot handle certain normalized forms of unicode. Example: é (e + U+0301) vs é (U+00E9) · Issue #16 · macos-fuse-t/fuse-t · GitHub](https://github.com/macos-fuse-t/fuse-t/issues/16) but I am less certain now.

Example:

- **breaks** : `é` . That is `e + U+0301` or UTF8 encoded: `e\xcc\x81`
- **works** : `é` which is (U+00E9) or `\xc3\xa9` in UTF8

When they are in the directory, I get

```auto
$ ls
ls: fts_read: Permission denied

```

and nothing shows in Finder. As seen in the logs below and the one in the aforementioned issue, rclone _appears_ to read it fine which is why I thought this was a FUSE-T issue. But both the developer's and my own additional FUSE-T testing shows that is less likely the case.

Looking at the log, I see `Adding "-o modules=iconv,from_code=UTF-8,to_code=UTF-8-MAC" for macOS`. Is there a way to disable this and see if that i the problem?

#### Run the command 'rclone version' and share the full output of the command.

```auto
rclone v1.61.1
- os/version: darwin 13.2.1 (64 bit)
- os/kernel: 22.3.0 (arm64)
- os/type: darwin
- os/arch: arm64
- go/version: go1.19.4
- go/linking: dynamic
- go/tags: cmount

```

I am also using the latest FUSE-T according to `brew`

#### Which cloud storage system are you using? (eg Google Drive)

Originally discovered on a crypt-wrapped local but reproduced on a simple local loopback mount.

#### The command you were trying to run (eg `rclone copy /tmp remote:tmp`)

```auto
rclone mount source/ mount/ -vv --log-file rclone.log

```

#### The rclone config contents with secrets removed.

```auto
N/A -- Local loopback. 

```

#### A log from the command with the `-vv` flag

[rclone.log](https://forum.rclone.org/uploads/short-url/sgRqdwT9jxIh0pqTWHOusz9ZYW6.log) (29.2 KB)

---

<div class="post-metadata">

**Author:** ![ncw](https://forum.rclone.org/user_avatar/forum.rclone.org/ncw/32/18_2.png) [@ncw](https://forum.rclone.org/u/ncw)\
**Post date:** [February 27, 2023, 2:38pm UTC](https://forum.rclone.org/t/some-unicode-forms-break-mount-on-macos-with-fuse-t/36403/2 "2023-02-27T14:38:11Z")

</div>

Does this break with OSXFUSE too?

> [@jwink3101](#):
>
> Looking at the log, I see `Adding "-o modules=iconv,from_code=UTF-8,to_code=UTF-8-MAC" for macOS`. Is there a way to disable this and see if that i the problem?

What that does is map the unicode that rclone (`UTF-8`) uses to the decomposed unicode that macOS uses internally (`UTF-8-MAC`). Its a command to libfuse.

If you want to disable this then use `-o modules=iconv,from_code=UTF-8,to_code=UTF-8` - I think that should work.

I wonder if FUSE-T doesn't use decomposed unicode internally?

macOS decomposed unicode (NFD) is a PITA - you'll find dozens of issues relating to this on the rclone Github!

---

<div class="post-metadata">

**Author:** ![jwink3101](https://forum.rclone.org/letter_avatar_proxy/v4/letter/j/b38774/32.png) [@jwink3101](https://forum.rclone.org/u/jwink3101)\
**Post date:** [February 27, 2023, 6:14pm UTC](https://forum.rclone.org/t/some-unicode-forms-break-mount-on-macos-with-fuse-t/36403/3 "2023-02-27T18:14:30Z")

</div>

> [@ncw](#):
>
> Does this break with OSXFUSE too?

I don't have a machine that has the older one. I can see if a virtual works when I am home later. But both my work mac and my home one uses FUSE-T now.

> [@ncw](#):
>
> If you want to disable this then use `-o modules=iconv,from_code=UTF-8,to_code=UTF-8` - I think that should work.

That does work! I first confirmed that my work mac does this too (it's Intel and I have ARM at home so I wanted to be sure) and confirmed that this flags fixes it. I will add it to my mount script (though I already just renamed the file since I don't care about the "é".

I'll update the issue on Github for FUSE-T as well

---

<div class="post-metadata">

**Author:** ![system](https://forum.rclone.org/uploads/default/original/2X/3/39ad3235f6ffec76ccd0c81616bd55697b4c300d.png) [@system](https://forum.rclone.org/u/system)\
**Post date:** [March 29, 2023, 6:15pm UTC](https://forum.rclone.org/t/some-unicode-forms-break-mount-on-macos-with-fuse-t/36403/4 "2023-03-29T18:15:09Z")

</div>

Closed on March 29, 2023, 6:15pm UTC

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