Hope, 

Are you using Rbase v9.5 (64Bits) or v9.5 (32Bits)?

If it is v9.5 (64Bits) you may be able to use the

BSTR 
·Holds 
binary string data
·String 
data type that is 
used by COM (Component Object Model), Automation, and Interop functions
·Used 
to support Unicode in table data
·Composite 
data type that 
consists of a length prefix, a data string, and a terminator
·Specific to R:BASE eXtreme 9.5 
(64)
 
Length Prefix
·Consists 
of a four-byte integer
·Occurs 
immediately before the first character of the data string
·Contains 
the number of bytes in the following data string
·Does 
not include the terminator
 
Data String
·Consists 
of a string of Unicode characters (wide or double-byte characters)
·May 
contain multiple embedded null characters
 
Terminator
·Consists 
of two null characters (0x00)


 

Jim Bentley, American Celiac Society

1-504-737-3293


________________________________
 From: Center for Vocational Building Technology - Thailand <[email protected]>
To: RBASE-L Mailing List <[email protected]> 
 
Subject: [RBASE-L] - DB Entry Form Stores Thai as ???
 


I've imported a 7.6 database into Rbase 9.5 
When I input new Thai character text  using an entry form the data is stored as 
????.  The form object is DB Memo, I checked using the data browser, SELECTing 
with out put to the screen and to a file; all the Thai characters that showed 
in the entry form are stored as ???s. 
Old imported Thai shows as Thai. 
Thai text that is entered in the data browser grid using the Rbase BLOB editor 
(the default when double clicking; this column is note type data), comes out as 
Thai character. 
  
I tried some other database control objects like DB Edit (doesn't keep text in 
the form field when another filed is subsequently activated) and DB Rich Edit 
(stores unicode callouts) and Enhanced DB Rich Edit. 
  
It was interesting to me to discover that I need to use the Unicode Static Text 
object to show Thai characters on the form. 
Does anyone have an idea of what Form Object I can use to get Thai to store 
correctly?  

Reply via email to