Samba Chinese problems

Source: Internet
Author: User
Samba Chinese-Linux general technology-Linux technology and application information. For details, refer to the following section. I am posting, ^ _ ^
For Simplified Chinese windows, codepage = cp936
Bytes -------------------------------------------------------------------------------------------------
Windows is divided into many languages, the traditional is big5, the simplified is generally gb2312
Server Side? Words? Yes ?? There are three ?? (In/etc/samba/smb. conf?] Yes? 3 ????, You need to add it on your own ):
Display charset = UTF8
Dos charset = cp950
Unix charset = UTF8
? Outbound? To stdout, stderr (that is, on the server itself? On screen? ? Messages )? R used ??.????? Yes? Outbound? Information, usually? Set? Unix charset below ?? Same.

Dos charset = cp950
DOS customer? Jack v. B received the server? R, used ??.? Y ?? If both Unix and windows use ?????? Yes, in? OK? Server? Chinese Windows Access? R ,?? Sleep @?? New ?? ?? Mb. conf? Face?] There are 950 ???? ? Huan HUan "cp950", some articles on google ?? 950, cp ??? Character. Is that incorrect? In testparm? Z query? R ??? ? Br/>
Unix charset = UTF8
Ben? CLinux? N case study? Used ?? Method. Samba required? Want to know this? C's ?? Method to be correct? ?? Q want to send? Customer? What does ghost say? Information ,????? In general? R ,?? C. Your Linux server system ??? Same, that is,/etc/sysconfig/i18n? Persons? O defined ?? Method.


? Example 1. Linux? I series ???? Big5 (? Q ??, /Etc/sysconfig/i18n? Area? Fixed ???? Is it Big5? R), and the Samba Server wants to share? N case? Fan? Chinese Windows ?? R ,? T server? As follows? Set:
Display charset = cp950
Dos charset = cp950
Unix charset = cp950

? Example 2. What is Linux? I series ????? Nicode, and Samba Server want to share? N case? Fan? Chinese Windows ?? R ,? T server? As follows? Set:
Display charset = UTF8
Dos charset = cp950
Unix charset = UTF8

?? Wei annoyed f, in general? R, "display charset "? "Unix charset "??? Set? ? I series ??? Same (/etc/sysconfig/i18n), "dos charset "??? Set it to cp950. What's special? R? Whole customer? What does Xiaoming say? Can the mongod method be correct? Receive ??.

? 1: "client code page = 950 "????? To use testparm? Y ?? R, already? Does not exist. Why ?? Mengxia region ??? Words ?? Idle? Br/>
? 2: Windows? K does not use Unicode ??, Micro? Have a set of solutions? Q many? Words? ???, In fan? In Chinese, windows uses big5 ?? (If you use a program to capture ?? Method? Sulson ?? Mei MS950 ,??? CP950 on Linux ,? What about big5 ??),? But in some situations? R seems to be okay? Show more? Why? Why? I series? What other types of word sets are used? Words, and "word set "? "?? "In Unicode? Is the score above? Not many here? To avoid everyone ?? @ Name? Obfuscation, if? Alimail believes that d Qu's friends can join ??.



Client? D's? Words ?? There are also three ?? (Using the mount or smbmount command? Mongod? R, plus-o ?? Back ):
Iocharset = UTF8
Codepage = cp950
Unicode

Iocharset = UTF8 specifies the current? C ?? Used ?? Method .????? In general? R ,?? C are you a Linux User? Why? C used ?? The method is the same, that is,/etc/sysconfig/i18n? Persons? O defined ?? Method.
Codepage = cp950? What is sent by the client server? ?? Method.
Unicode use unicode? C server access ?.


? Example 1 .?? Inux? Guest? Playing tricks? Mongod another Linux Samba Server, and? "Dos charset" in Server "? Set to cp950? R ,?? Why? Mongod:

Mount-t smbfs-o username = my_name, password = my_pass, codepage = cp950 // xxx. xxx/pai_floder/dest


? Example 2 .?? Inux? Guest? Playing tricks? Mongod another Linux Samba Server, and? "Dos charset" in Server "? Set to UTF8? R ,?? Why? Mongod:

Mount-t smbfs-o username = my_name, password = my_pass, codepage = UTF8 // xxx. xxx/pai_floder/dest


? Example 3 .?? Inux? Guest? Playing tricks? Why is it another complex? Chinese Windows? ?? R ,?? Why? Mongod:

Mount-t smbfs-o username = my_name, password = my_pass, codepage = cp950 // xxx. xxx/pai_floder/dest

? ? Mongod mode. How does the client view what Samba Server sends? Middle Route ?? What is it ??? (Dos charset ??), Customer? Why is it gray? Meng? Mu ?? Can be received ?? . What about iocharset = cp950 ?? S? In this example ???? Yes? Font loss ?.? Huang? D loss ??.

Attached to the SAMBA language:
/Etc/sysconfig/i18n
LANG = "en_US.UTF-8"
SUPPORTED = "zh_HK.UTF-8: zh_HK: zh: zh_CN.UTF-8: zh_CN: zh: zh_SG.UTF-8: zh_SG: zh: zh_TW.
UTF-8: zh_TW: zh: en_US.UTF-8: en_US: en"
SYSFONT = "latarcyrheb-sun16"

/Etc/samba/smb. conf
Display charset = UTF8
Dos charset = cp950
Unix charset = UTF8

In this way, my environment is redhat ent 5.1. The customers are winxp simplified, traditional, and English versions. The English version selects the Chinese RPC as the internal code. No matter which computer uploads files to SAMBA, there is no problem with reading the text.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.