[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

International Character Conversion Problem

Posted on 1997-04-23
7
Medium Priority
?
227 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
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 240 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

Tech or Treat!

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

656 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