Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Sun Sep 22, 2019 9:36 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: datacontrol encode
PostPosted: Sun May 19, 2013 9:22 pm 
Offline

Joined: Thu May 16, 2013 10:42 pm
Posts: 11
The value read from a data control ???? Solve the problem.


Top
 Profile  
Reply with quote  
 Post subject: Re: datacontrol encode
PostPosted: Sun May 19, 2013 10:19 pm 
Offline
User avatar

Joined: Sun Aug 05, 2007 10:46 am
Posts: 4931
Location: San Diego, CA
would be helpful if you stated a problem....

FYI.. use of the datacontrol is discouraged....

_________________
Dave Sisemore
iMac I7[2012], OSX Mountain Lion 10.8.3 RB2012r2.1
Note : I am not interested in any solutions that involve custom Plug-ins of any kind


Top
 Profile  
Reply with quote  
 Post subject: Re: datacontrol encode
PostPosted: Sun May 19, 2013 10:24 pm 
Offline

Joined: Thu May 16, 2013 10:42 pm
Posts: 11
read data in mysql with datacontrol So data is Alien language

example data in mysql is "กกก" but indatacontrol is "???????"
thank


Top
 Profile  
Reply with quote  
 Post subject: Re: datacontrol encode
PostPosted: Mon May 20, 2013 1:13 am 
Offline

Joined: Fri Jan 06, 2006 3:21 pm
Posts: 12388
Location: Portland, OR USA
The problem is with the Encoding of the data and cannot be solved with a datacontrol. Dump the datacontrol, read the data into a recordset, extract the value and use DefineEncoding to set the correct text encoding. Then put the value into the field.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


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

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group