几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】unicode Mapping (http://www.dimcax.com/hust/showthread.php?t=18885)

yang686526 2009-05-07 05:41 PM

【转帖】unicode Mapping
 
unicode mapping
unicode mapping
hi guys,
i would like to know exactly how dd maps to characters.
the reason for this question is as follows :
i have two xp machines here in the office.
regional settings are identical.
i call ::getacp() on both machines via exsystemservices::systemcodepage()
and both return cp_ansi_1252.
i set the ballowcpconversion to true in the call to readfile().
so from the above i figure i would get the same characters mapped on both machines ... well you guessed, wrong :-(.
basically i have a drawing that has japanese characters, but it shows chinese characters on one of the machines????
what if anything else should i check, and what seems to be the problem is very much appreciated from anyone that can help
thanx again in advance
jason
last edited by janderssen; 5th april 2006 at 01:05 amfff">. reason: bad english
the difference is probably caused by presence/absence of some code page (japanese) support.
which dd version do you use? as i remember since 1.14.02 we give warning in case of conversion failure.
by default on windows dd uses windows unicode conversion and on non-windows - adinit.dat which can be activated on windows too.
sergey slezkin


所有的时间均为北京时间。 现在的时间是 12:36 PM.