Solved

International Character Conversion Problem

Posted on 1997-04-23
7
191 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
Comment Utility
Have you tried to not use the International driver and use a standard one?
0
 

Author Comment

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

Expert Comment

by:mheacock
Comment Utility
Might it have something to do with the font you are trying to display the string in??  Just a guess.
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 3

Expert Comment

by:mheacock
Comment Utility
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
Comment Utility
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
Comment Utility
If you're using PARADOX, try changing the Table Language to "Ascii-Ansi" (the 2nd one)
0
 

Expert Comment

by:urih
Comment Utility
Glad I could have helped
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
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…

771 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

10 Experts available now in Live!

Get 1:1 Help Now