This is a migrated thread and some comments may be shown as answers.

OpenAccess RTL Support

2 Answers 77 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Soul
Top achievements
Rank 1
Soul asked on 19 Apr 2009, 08:35 PM
Hey Guys,

I'm using the OpenAccess Express along with MySQL - and I have a persistent object with an id, first name and last name -
My problem is related to my input being in Arabic.

I changed all the Charsets and Collations on MySQL to UTF8 General - and if I add an entry in English-  everything works fine -
If I add an entry using Arabic - I get all ?????'s in MySQL

Does OpenAccess support Arabic/RTL - and if yes, what am I missing to make it work

Cheers!
Thanks!

2 Answers, 1 is accepted

Sort by
0
Jan Blessenohl
Telerik team
answered on 22 Apr 2009, 12:30 PM
Hello Soul,

I have tested the unicode behavior and it is working with some changes to your mapping. The easiest way is to globally change the mapping for string to NVARCHAR. This can be done in the backend configuration settings of your app.config file. You have to have this nodes:

<

 

backendconfiguration id="mysqlConfiguration" backend="mysql">
    <
mappingname>mysqlMapping</mappingname>
    <
typeMap><typeMapping>
        <
ADOType>VARCHAR</ADOType><SQLType>NVARCHAR</SQLType>
    </
typeMapping></typeMap>
</
backendconfiguration>

The NVARCHAR string is not choosable from the forward mapping dialog, we will change that.

I have attached my sample project that is working with mysql.

Regards,

Jan Blessenohl
the Telerik team

 


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Soul
Top achievements
Rank 1
answered on 22 Apr 2009, 12:32 PM
Brilliant stuff - will give it a try tonight

Thank you for the prompt and brilliant support ^_^ Loving how accessible and comfortable it is to use OpenAccess [so far]
And a thank you in a more multi-cultural setting
شكرا :-)

Tags
General Discussions
Asked by
Soul
Top achievements
Rank 1
Answers by
Jan Blessenohl
Telerik team
Soul
Top achievements
Rank 1
Share this question
or