Solved

International Character Conversion Problem

Posted on 1997-04-23
7
198 Views
Last Modified: 2013-12-03
I am having troubles inserting records with fields containing international characters. I'm using a MS SQL driver with an International language driver, yet some characters are still being converted. I'm curious if there is something I'm missing or not doing, or if it's just some sort of bug with the BDE. I've tried many different language drivers and alternative solutions (DBI calls, etc..). Any comments or suggestion will be welcome.

--Here is a sample of the code and the results:
    Table1.FieldByName('ITEM_TEXT').AsString :=                        
'ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖïðñòóôöøúûüýþÿ';

   ... would be translated to 'AAAAÄÅÆÇEÉEEIIIIDÑOOOOOïdñòóôöoúûüypÿ'
0
Comment
Question by:csean
7 Comments
 

Expert Comment

by:Nando
ID: 1335663
Have you tried to not use the International driver and use a standard one?
0
 

Author Comment

by:csean
ID: 1335664
I have a tried a standard driver (ie. Ansi-Ascii) and a number of
international drivers.
0
 
LVL 3

Expert Comment

by:mheacock
ID: 1335665
Might it have something to do with the font you are trying to display the string in??  Just a guess.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 3

Expert Comment

by:mheacock
ID: 1335666
Are the international drivers using unicode?  Do you first have to specify the language in the driver, perhaps so it will know what section of the unicode character set to access??  Just another guess.
0
 

Expert Comment

by:wmorris
ID: 1335667
You need to make sure the MS-SQL server is set up with the correct language settings.   When BDE submits a statement to the SQL server, the SQL server might translate the data to it's native character set.  If your BDE language driver does not match the character set of the MS-SQL server, you will see this type of problem.

Also, try setting the language driver for your MSSQL alias to 'Western Europe ANSI'.

If that does not work, please supply the following details :
  -- what language version of Windows you are using
  -- what version of Windows (Win 95 or WinNT)
  -- what your MSSQL server is setup

0
 

Accepted Solution

by:
urih earned 120 total points
ID: 1335668
If you're using PARADOX, try changing the Table Language to "Ascii-Ansi" (the 2nd one)
0
 

Expert Comment

by:urih
ID: 1335669
Glad I could have helped
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Font that uses "minimal ink" when printing 27 59
Working this component WebCopy with proxy, help 3 76
error 1.1 400 Bad request idhttp delphi 18 55
Delphi selector screen 2 70
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now