![]() |
【转帖】japanese text with pseudo-codes
japanese text with pseudo-codes
japanese text with pseudo-codes hello all: when importing dwg files i sometimes get japanese text in form: "\m+18673\m+1838c" or alike. i can even see such codes in autocad (in properties or when editing text,) although autocad displays text correctly. the font is a bigfont. does anybody know what the codes mean? help is greatly appreciated. arnošt quote: originally posted by arnost hello all: when importing dwg files i sometimes get japanese text in form: "\m+18673\m+1838c" or alike. i can even see such codes in autocad (in properties or when editing text,) although autocad displays text correctly. the font is a bigfont. does anybody know what the codes mean? help is greatly appreciated. arnošt here is acad help quotation. "the multibyte interchange format (mif) converts asian language character strings. the following string represents an asian character displayed on a system other than the native one: \m+nxxxx multibyte shape number. the n is a digit identifying the originating multibyte code page id. the xxxx is the hexadecimal value of the multibyte character. the code page identifications that autocad supports are listed in the following table. supported code page identification code page id code page number language 0 undefined undefined 1 932 japanese (shift-jis) 2 950 traditional chinese (big 5) 3 949 wansung (ks c-5601-1987) 4 1361 johab (ks c-5601-1992) 5 936 simplified chinese (gb 2312-80) if a big font is used, the sequence is converted to a 16-bit value, and if a character exists for it, that character is drawn in the drawing area. characters that don't readily map in the system-character representation appear in dxf as \u+xxxx sequences or as \m+nxxxx sequences for multibyte code pages (non-unicode mapped). also, 8-bit and multibyte characters, as well as \u+xxxx and \m+nxxxx sequences, are accepted in symbol table names. warning! if you are using cif or mif sequences as symbol table names, they must be entered correctly. otherwise, you can corrupt your drawing. " -- best regards, sergey z. thank you sergey, your explanation could not have been more thorough. you covered everything i needed to know. arnošt |
所有的时间均为北京时间。 现在的时间是 10:54 AM. |