Issues with japanese character support in folders/filenames

Hello all, new Haiku user here. I was recently trying to transfer some music files, but were unable to do so for some of the songs with fullwidth characters and/or Japanese text. Is there a workaround for this, or is it a limitation of the filesystem?

Hello @s0m3-d0g

Haiku supports Japanese text throughout the system, including the file system, so you should be able to use Japanese filenames (I do it all the time).

I suspect this may be an encoding “mojibake” problem.

Are you moving the files from another OS/file system? If yes, what OS/file system is it? That may help narrow down the cause.

1 Like

Howdy,

This may be related.

And it looks like a fix is being worked on here:

https://review.haiku-os.org/c/haiku/+/10150

1 Like

Ah, I missed that article. As far as I can tell it’s the same issue as what I’m having. Our drive is formatted in FAT.

Is there a format for the drive that we can use that doesnt have this problem? I’m trying to transfer files from linux (ubuntu).

Importing files to any linux distro should work as the kernel has a module for bfs. To avoid confusion, linux is calling it befs. This module can only mount partitions read only.
Note that there is also a fuse module for linux, that can be build supporting read and write operations, though I don’t know where to find it or if it is maintained.
If you need to export files from linux, you can mount linux partitions in Haiku, 99% of time (IIRC, some ext4fs special features can prevent it the driver to work if they are enabled).
So, if both systems are on same pc, it should be straight forward.

If you need to transfer files from another pc, you could use an external drive formatted with any file system supported by Haiku, obviously except fat until this is fixed. ext4fs or ntfs should work fine.

1 Like

Hi @s0m3-d0g !

As @Starcrasher suggests, I would try ext4fs or ntfs. Keep us posted!

1 Like

I tried ntfs and it seems to have worked. That said, it did replace every instance of a vertical bar | with a missing character box, but this isn’t too big an issue. Thanks for the help!

1 Like

Glad to have helped!