cifsd-team / ksmbd

ksmbd kernel server(SMB/CIFS server)
152 stars 23 forks source link

how to configure cifsd for supporting charset cp936 or gb2312 #451

Open winyke opened 3 years ago

namjaejeon commented 3 years ago

Location:
│ -> File systems
│ -> Native language support (NLS [=y]) -> NLS_CODEPAGE_936 [=m]

Have you configured CONFIG_NLS_CODEPAGE_936 in your kernel ?

and make it by default ? (Default NLS Option)

winyke commented 3 years ago

Location: │ -> File systems │ -> Native language support (NLS [=y]) -> NLS_CODEPAGE_936 [=m]

Have you configured CONFIG_NLS_CODEPAGE_936 in your kernel ?

and make it by default ? (Default NLS Option)

thank you for your answer.but i have no idea how to config.because i installed cifsd as one ".ipk" package, which compiled for openwrt running on mt7621 (mipsel) .

namjaejeon commented 3 years ago

Okay, You should check whether your package included codepage 936 module first. and I will work cifsd support unix charset (G) parameter in smb.conf to change character set by user.

winyke commented 3 years ago

Okay, You should check whether your package included codepage 936 module first. and I will work cifsd support unix charset (G) parameter in smb.conf to change character set by user.

thanks for your assistance and hope it come soon