Error: Cannot transliterate character between character sets

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
exbo
Posts: 7
Joined: Thu 22 Oct 2009 20:07

Error: Cannot transliterate character between character sets

Post by exbo » Thu 22 Oct 2009 20:58

Hallo,

i hope there is a solution for the following problem:

Error message
-----------------
"Cannot transliterate character between character sets."

Surrounding:
---------------

- Delphi 2009

- UniDac Professional Edition Version 1.20.0.13

- Firebird 2.5 Database (Character Set UTF8)

- Structure of error causing table:

CREATE TABLE Analysen (
Analyse_Id CHAR(38) NOT NULL,
Analyse_Parent CHAR(38),
Analyse_Name VARCHAR(100),
Analyse_Info VARCHAR(255),
SQL BLOB SUB_TYPE TEXT,
PRIMARY KEY(Analyse_Id)
);

- TUniConnection - Parameters

object IBConnection: TUniConnection
ProviderName = 'InterBase'
Database = '..\xxxxx.fdb'
SpecificOptions.Strings = (
'InterBase.SQLDialect=1'
'InterBase.Charset=UTF8'
'InterBase.UseUnicode=True')
end

- TUniTable - Parameters

* object IBAccess: TUniTable
TableName = 'Analysen'
Connection = IBConnection
Options.DefaultValues = True
end
* no persistent fields

Error causing behaviour
----------------------------
- the error raised when i open the TUniTable "IBAccess" at designtime or at runtime

Tests
------
- When i declare the primary key field "Analyse_Id" as Integer the error does not occur.
But i cannot exchange the fieldtype because this field has to hold GUID-Information

Thanks for any answer.

tobias_cd
Posts: 56
Joined: Thu 18 Dec 2008 22:10

Post by tobias_cd » Fri 23 Oct 2009 04:06

Hi,
I'm wondering if Unidac 1.x is even compatible with D2009 and/or Unicode.
Maybe you could try your example with the Unidac v3 trial also?
Regards,
Tobias

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Tue 27 Oct 2009 09:28

We could not reproduce the problem. Please send to support*devart*com a complete small sample that demonstrates the problem, including the script for creating database objects.

Post Reply