Solved

Arabic data problem with PowerBuilder 10.5 and MS SQL Server 2000 using oldedb

Posted on 2007-03-19
9
997 Views
Last Modified: 2013-12-26
When Arabic data is entered through the PB interface, the data is stored in database as "?"

The Environment is PowerBuilder 10.5, MS SQL Server 2000, database driver is oledb, character set used is arabiccharset!.
0
Comment
Question by:sbasheer
[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
  • 3
  • 2
9 Comments
 
LVL 4

Expert Comment

by:meenasree
ID: 18754251
what is the data type of the field in which it is entered
0
 
LVL 18

Expert Comment

by:diasroshan
ID: 18754256
Hi,

First, go to control panel --> regional settings and change language for non unicode programs to Arabic.

Can u type Arabic in Notepad?
Can u update and retrieve Arabic characters from query analyzer?

Cheers,
Rosh
0
 

Author Comment

by:sbasheer
ID: 18754679
Datatype used in database is VARCHAR

The regional setting is set  for non unicode programs to Arabic(U.A.E)
YES NOTEPAD I CAN TYPE ARABIC
QUERY ANALYZER OF SQL SERVER ALSO SHOWS THE SAME PROBLEM
0
The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

 
LVL 4

Accepted Solution

by:
meenasree earned 250 total points
ID: 18754683
Instead use NVARCHAR as it supports national characters this might solve the problem
0
 
LVL 18

Assisted Solution

by:diasroshan
diasroshan earned 250 total points
ID: 18754857
Hi,

refer,
http://msdn2.microsoft.com/en-us/library/aa902664(SQL.80).aspx

Arabic Language Support in Microsoft SQL Server 2000

Cheers,
Rosh
0
 
LVL 18

Expert Comment

by:diasroshan
ID: 19489242
Hi,

i recommend a split in points...

meenasree and my comment must have helped sbasheer!

Cheers,
Rosh
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

696 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