瑙e喅鍦↙inux鐜涓嬭闂畐ebservice鍙戦�佷腑鏂囦贡鐮侀棶棰樼殑鏂规

棣栧厛锛岀湅鍦╳indows鐜涓嬫甯告樉绀轰腑鏂囩殑鍘熷洜锛氭墦寮�cmd绐楀彛锛岃緭鍏ワ細chcp浣犱細鍙戠幇杈撳嚭

娲诲姩浠g爜椤�: 936

鏌ラ槄936鐨勬剰涔夛細瀹冩寚鏄庝簡褰撳墠绯荤粺浣跨敤鐨勭紪鐮侊紝936 浠h〃GBK 鎵╁睍鐨凟UC-CN 缂栫爜( GB 2312-80缂栫爜,鍖呭惈 6763 涓眽瀛�)鍒癠nicode (GB13000.1-93)涓畾涔夌殑20902涓眽瀛�,鍗充腑鍥藉ぇ闄嗕娇鐢ㄧ殑鏄畝浣撲腑鏂噝h_CN銆�

杩欒鏄庯紝鍦╳indows涓嬫槸榛樿閲囩敤鐨刧bk鏂瑰紡缂栫爜锛岀煭淇′篃娌℃湁涓枃涔辩爜銆�


鎺ヤ笅鏉ュ啀鐪媗inux鐜涓嬬殑涓枃缂栫爜鏍煎紡锛氳緭鍏ュ懡浠at /etc/sysconfig/i18n

聽浣犱細鍙戠幇杈撳嚭榛樿涓猴細

LANG="en_US.UTF-8"

SYSFONT="latarcyrheb-sun16"

杩欒鏄庯紝Linux榛樿鏀寔鐨勪腑鏂囩紪鐮佷负UTF-8锛寃ebservice涔熸槸浠ヨ鐜涓殑缂栫爜鏍煎紡鍙戦�佺殑瀛楁銆�



瑙e喅鍦↙inux鐜涓嬭闂畐ebservice鍙戦�佷腑鏂囦贡鐮侀棶棰樼殑鏂规_第1张图片

鎵�浠ュ嚭鐜颁簡涓婂浘涓殑鐘跺喌銆�

瑙e喅鏂瑰紡锛氫慨鏀筁inux鐨勪腑鏂囩紪鐮併��

鎵ц鍛戒护锛�

vi /etc/sysconfig/i18n

聽灏嗗唴瀹规浛鎹㈠涓嬶細

LANG="zh_CN.GBK"

SUPPORTED="zh_CN.UTF-8:zh_CN:zh"

SYSFONT="latarcyrheb-sun16"

聽淇敼淇濆瓨鍚庤繍琛屽懡浠ocale鍙戠幇渚濈劧鏄痷tf-8缂栫爜鏍煎紡銆傘��

娉ㄦ剰锛屾鏃朵笉瑕佺潃鎬eboot锛坙inux閲嶅惎绯荤粺鍛戒护锛岀被浼肩瑪璁版湰鐢佃剳閲嶅惎绯荤粺锛岄渶瑕佷竴娈垫椂闂达紝鏈夐�犳垚纭欢鎹熷潖椋庨櫓鍝︼級锛屽皢鐧婚檰鐢ㄦ埛鍏坙ogout鍐峫ogin锛堢櫥鍑哄悗鍐嶇櫥鍏ワ級锛屽啀娆¤繍琛宭ocale鍛戒护锛屼綘浼氬彂鐜拌淇敼鎴怗BK浜嗭細

LANG=zh_CN.GBK

LC_CTYPE="zh_CN.GBK"

LC_NUMERIC="zh_CN.GBK"

LC_TIME="zh_CN.GBK"

LC_COLLATE="zh_CN.GBK"

LC_MONETARY="zh_CN.GBK"

LC_MESSAGES="zh_CN.GBK"

LC_PAPER="zh_CN.GBK"

LC_NAME="zh_CN.GBK"

LC_ADDRESS="zh_CN.GBK"

LC_TELEPHONE="zh_CN.GBK"

LC_MEASUREMENT="zh_CN.GBK"

LC_IDENTIFICATION="zh_CN.GBK"

LC_ALL=


浣嗘鏃朵綘鏈夊彲鑳藉彂鐜版墦鍗扮殑鏃ュ織鍙堜贡鐮佷簡锛屾唻鐫�鎬ワ紝涓嶆槸璇翠綘鐨勭郴缁熶笉鏀寔gbk鏄剧ず锛岃�屾槸浣犺淇敼浣爏sh瀹㈡埛绔殑缂栫爜璺熺郴缁熺紪鐮乬bk涓�鑷村氨ok鍟~~


淇敼鎴愬姛涔嬪悗锛岀粡娴嬭瘯锛屽彂鐜伴�氳繃閮ㄧ讲鍒癓inux鐜涓婂悗锛屽彂閫佺殑鐭俊涓枃鏄剧ず涔熶笉涔辩爜浜嗐�傝嚦浜庝负浣曟墜鏈烘帴鏀剁煭淇′笉澶敮鎸乁TF-8锛屽叿浣撳師鍥犳病鏈夋繁绌躲��


鍏跺疄杩欒窡鎴戝墠娈垫椂闂村仛鐨刬Report鎶ヨ〃闂宸笉澶氾紝杩欎簺闂鐨勫嚭鐜伴兘鏄敱浜巜indows鍜宭inux鐨勪竴浜涚幆澧冨樊寮傞�犳垚鐨勩�傛瘯绔熶竴鑸儏鍐典笅锛屽紑鍙戝伐浣滄槸鍦╳indows涓嬪畬鎴愮殑锛岀劧鑰岀湡姝i儴缃蹭笂绾跨殑鏄湪linux鐜涓�

你可能感兴趣的:(瑙e喅鍦↙inux鐜涓嬭闂畐ebservice鍙戦�佷腑鏂囦贡鐮侀棶棰樼殑鏂规)