Hi,
can anyone please point me to some entry points (Documents, etc.) concerning encoding?
Have to 'sync' PostgreSQL (UTF-8), DevArt LinqConnect and DevExpress Web Forms...
Currently I'm facing artefacts on DX side and exceptions on DA side as soon umlauts are used...
Any documents etc, are highly appreciated.
BR,
Ekki
Getting Into Encoding
Re: Getting Into Encoding
Please try the following:
- set the Unicode connection string parameter value to True
or
- set the Charset connection string parameter value to Utf8
To do it in Entity Developer, open Database Explorer, right-click the Database Connection and select Edit Connection Properties from the shortcut menu, and click the Advanced button. Set Unicode to True (or 'Character set' to the necessary value) in the opened dialog box and save changes.
For more information please refer to:
1) http://www.devart.com/dotconnect/postgr ... arset.html
2) http://www.devart.com/dotconnect/postgr ... arset.html
Please tell us about the results.
- set the Unicode connection string parameter value to True
or
- set the Charset connection string parameter value to Utf8
To do it in Entity Developer, open Database Explorer, right-click the Database Connection and select Edit Connection Properties from the shortcut menu, and click the Advanced button. Set Unicode to True (or 'Character set' to the necessary value) in the opened dialog box and save changes.
For more information please refer to:
1) http://www.devart.com/dotconnect/postgr ... arset.html
2) http://www.devart.com/dotconnect/postgr ... arset.html
Please tell us about the results.
Re: Getting Into Encoding
Hi Mariia!
I did as you wrote (did set Unicode to True) and have now full roundtrips from UI to DB (Admin) via Linq and back. Thanks a lot.
There's one question remaining: As my application uses English as UI language (the data language may differ) I would prefer to force your modules to print the exception messages in EN (currently they show up in DE). Is there any way to achieve this directly by configuring your components at run-time? If not, what you suggest?
Thx ia again,
Ekki
I did as you wrote (did set Unicode to True) and have now full roundtrips from UI to DB (Admin) via Linq and back. Thanks a lot.
There's one question remaining: As my application uses English as UI language (the data language may differ) I would prefer to force your modules to print the exception messages in EN (currently they show up in DE). Is there any way to achieve this directly by configuring your components at run-time? If not, what you suggest?
Thx ia again,
Ekki
Re: Getting Into Encoding
No, there is no way.As my application uses English as UI language (the data language may differ) I would prefer to force your modules to print the exception messages in EN (currently they show up in DE). Is there any way to achieve this directly by configuring your components at run-time? If not, what you suggest?
All LinqConnect exceptions are given in English. The exceptions, which you are getting, are from the server-side and, thus, the language of the error messages are determined by the server settings.