Modify

Opened 11 years ago

Closed 10 years ago

#819 closed task (fixed)

Russian codepage

Reported by: lo@… Owned by: developers
Priority: normal Milestone:
Component: kernel Version:
Keywords: nls Cc:

Description

Sorry! This is not ticket. Can you add support for russian codepage and charset?

Attachments (3)

102-cp1251.patch (2.3 KB) - added by ginozemtsev@… 10 years ago.
Makefile.patch (993 bytes) - added by ginozemtsev@… 10 years ago.
Changes to the makefile
fs.mk.diff (710 bytes) - added by ginozemtsev@… 10 years ago.
Enable cp1251 kernel module

Download all attachments as: .zip

Change History (11)

comment:1 Changed 11 years ago by florian

In kernel ?

comment:2 Changed 11 years ago by lo@…

No. I think - kernel module. nls-cp866 nls-cp1251

comment:3 Changed 11 years ago by lo@…

This is for samba sharing. People use russian names for files and folders on usb flash

comment:4 Changed 11 years ago by lo@…

Sorry. Version: OpenWrt WhiteRussian.
uname -a
Linux OpenWrt 2.4.30 #1 Sun Mar 26 19:02:04 CEST 2006 mips unknown

comment:5 Changed 11 years ago by lo@…

Hm. Just say, what kernel source i can use, for make this modules... and config. pls. and patches... if present

comment:6 Changed 11 years ago by florian

  • Resolution set to fixed
  • Status changed from new to closed

Added in [5444] with other NLS modules

comment:7 Changed 10 years ago by ginozemtsev@…

  • Resolution fixed deleted
  • Status changed from closed to reopened

CP1251 still does not work in Samba in current Kamikaze. Mounting vfat drives works fine though.

CP1251 makes more sense to most people using Russian charsets, because it is then possible to share a fat32 drive, but it stays usable with Windows computers (which don't work with KOI8-R). So I can alternately plug my external hdd into the router and my PC.

I wrote a patch adding CP1251 support from Samba 2.2 to Samba 2.0 in svn. The makefile also needs to be changed. Sorry if the formatting is wrong, I am new to this.

I tested the patched package, and Russian filenames work if the system locale is set to Russian in Windows ("non-Unicode programs" thing in control panel). Otherwise Windows still displays wrong characters (but ones that will be instantly familiar to any Russian user :) I suppose there is no way to fix this other than add Unicode.

Changed 10 years ago by ginozemtsev@…

Changed 10 years ago by ginozemtsev@…

Changes to the makefile

Changed 10 years ago by ginozemtsev@…

Enable cp1251 kernel module

comment:8 Changed 10 years ago by florian

  • Resolution set to fixed
  • Status changed from reopened to closed

Applied [11810] and [11811], thanks !

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.