Skip to content

Support non-BMP characters on UTF-16 filesystems

Vladimir 'φ-coder/phcoder' Serbinenko linux-cifs linux-fsdevel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8Support full unicode in uni2char and char2unifs/affs/namei.c fs/affs/symlink.c fs/befs/linuxvfs.c +51 more+289 -1290 replies
2/8Add some UTF-16 functions for conveniencefs/nls/nls_base.c fs/nls/nls_utf8.c include/linux/nls.h+70 -10 replies
3/8Support non-BMP characters in JFS.fs/jfs/jfs_unicode.c+24 -60 replies
4/8Support non-BMP characters on HFS+.fs/hfsplus/unicode.c+62 -140 replies
5/8Support non-BMP characters on Joliet.fs/isofs/joliet.c+18 -50 replies
6/8Support non-BMP characters in UDFfs/udf/unicode.c+23 -58 replies
7/8Support non-BMP characters in NTFS.fs/ntfs/unistr.c+41 -290 replies
8/8Support non-BMP characters on FATfs/fat/dir.c fs/fat/namei_vfat.c+36 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] Support non-BMP characters on UTF-16 filesystems

Hello, when conducting some automated filesystem tests, I've discovered that some filesystems are unable to cope with non-BMP characters. While most usual characters are in BMP, I still think that supporting then is important. Perhaps, the single most important reason to support them is that they come up in some personal names. The series has 2 patches to prepare the ground by changing NLS functions uni2char and char2uni to work on full unicode_t and another patch for UTF-16 conversion functions. Remaining 6 patches are for specific filesystems.The filesystems I haven't fixed are ncpfs and cifs since I don't have the relevant test environment but it should be easy for someone with one to extend it for them as well. I've used mainly 2 following characters for test:
茝 Some rare CJK symbol, no idea what it means, picked it up at random. 😁 An emoticon.

I send this explanation and first 2 patches to all concerned parties. Rest is sent to LKML, linux-fsdevel and relevant filesystem maintaintainer/list only

Signature · 2 lines
Regards
Vladimir 'φ-coder/phcoder' Serbinenko