Re: [PATCH 1/2] fs/nls: Add codepage 720 (Arabic)

From: Fuad Tabba

Date: Mon Nov 09 2026 - 08:03:42 EST


On Mon, 9 Nov 2026 at 12:51, OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx> wrote:
>
> Fuad Tabba <fuad.tabba@xxxxxxxxx> writes:
>
> > FAT stores short names in the OEM code page of the system that wrote
> > them, and the OEM code page of Arabic Windows is 720. The kernel's only
> > DOS code page for Arabic is cp864, so mounting such a volume with
> > codepage=720 fails with "codepage cp720 not found".
> >
> > Add nls_cp720 behind NLS_CODEPAGE_720, with tables generated by a
> > script from Microsoft's code page 720 table, as ICU's windows-720-2000
> > mapping carries it. That table maps 0x80, 0x81, 0x84, 0x86 and
> > 0x8d-0x90 to C1 controls, and those eight bytes are left unassigned, as
> > ICU's ibm-720 mapping leaves them.
> >
> > Signed-off-by: Fuad Tabba <fuad.tabba@xxxxxxxxx>
>
> Looks good. However, maybe no maintainer in this area, so I'm not sure
> who handle...

I was wondering the same thing :)

Thanks,
/fuad