About Us
Products
Purchase
Downloads
Support
Forums
Contact Us
Site
 Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
yejun
Wanderer


Joined: 13 Jun 2005
Posts: 51

PostPosted: 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.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net