Alexander Stepanovitch Pyatkin
2010-Aug-07 08:13 UTC
[CentOS] iocharset, codepage issue in CentOS 5.5
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><title>iocharset, codepage issue in CentOS 5.5</title> <META http-equiv=Content-Type content="text/html; charset=windows-1251"> <meta http-equiv="Content-Style-Type" content="text/css"> <style type="text/css"><!-- body { margin: 5px 5px 5px 5px; background-color: #c0dcc0; } /* ========== Text Styles ========== */ hr { color: #0000ff} span.rvts1 /* Heading */ { font-size: 10pt; font-weight: bold; } span.rvts2 /* Subheading */ { font-size: 10pt; font-weight: bold; color: #000080; } span.rvts3 /* Keywords */ { font-size: 10pt; font-style: italic; color: #800000; } a.rvts4, span.rvts4 /* Jump 1 */ { font-size: 10pt; color: #008000; text-decoration: underline; } a.rvts5, span.rvts5 /* Jump 2 */ { font-size: 10pt; color: #008000; text-decoration: underline; } span.rvts6 { font-size: 8pt; font-style: italic; color: #000080; } a.rvts7, span.rvts7 { font-size: 8pt; text-decoration: underline; } /* ========== Para Styles ========== */ p,ul,ol /* Paragraph Style */ { text-align: left; text-indent: 0px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; } .rvps1 /* Centered */ { text-align: center; } --></style> </head> <body> <p>Dear Colleges.</p> <p><br></p> <p>The OS is CentOS 5.5. The locale is CP1251 or ISO8859-5, Language used is Russian.</p> <p>It looks like that the iocharset=cp1251,codepage=866 is not working in this version of CentOS, but it works in CentOS 4.6. When trying to mount a memory stick with the above mentioned parameters the file names with Russian characters in the mentioned encoding (Windows XP) are displayed wrong. When writing to this memory stick the file, containing Russian characters, the file becomes unaccesible. Do anyone met with such a bug?</p> <p><br></p> <p><br></p> <p><span class=rvts6>-- </span></p> <p><span class=rvts6>Ñ óâàæåíèåì,</span></p> <p><span class=rvts6> Alexander </span><a class=rvts7 href="mailto:pyatkin@AP12513.spb.edu">mailto:pyatkin@AP12513.spb.edu</a></p> </body></html>
Hi Alexander (2010/08/07 17:13), Alexander Stepanovitch Pyatkin wrote:> It looks like that the iocharset=cp1251,codepage=866 is not working inSome mount option are changed in centos5 by noticed in blog/wiki. CentOS4(kernel2.6.9 ) mount iocharset=yyy,codepage=xxx CentOS5(kernel2.6.18) mount utf8 kernel2.6.32 mount utf8=1 If you mount (local coded)windows-partition with utf8, file name code changing mechanism automatically work with between local-code and utf8. After remounting /windows partitions in WindowsOS, file names are described in your local code. Tsuyoshi.