yejun Wanderer
Joined: 13 Jun 2005 Posts: 51
|
Posted: Sun Aug 14, 2005 1:43 pm
Why Widestring is used in com plugin interface |
I am trying to write a plugin for a Chinese mud. But I've noticed, all strings passed from com plugin interface in WideString, which has been encoded in some way.
As I know, WideString is using utf-2, since zmud doesn't know the correct encoding for inpurt from mud server how can it convert a ansistring to widestring? Is it a direct PChar to PWChar cast or some sort of conversion has been performed?
I also tried dll plugin, buffer passed from PChar is correct. |
|