?
Solved

arabic text from database

Posted on 2003-02-18
10
Medium Priority
?
284 Views
Last Modified: 2012-08-14
Hello everybody,

here is my problem:

i want to display arabic text stored in sql2000 database.

im using asp file. when i run it alone, it works fine (the asp file is stored as utf-8 file).

but when trying to load its data in flash, it prints "??????"

so, how can i solve my problem ?
0
Comment
Question by:kanary
[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
  • 3
  • 2
  • +2
10 Comments
 
LVL 6

Expert Comment

by:henryww
ID: 7980301
only mx works with unicode and
embed fonts for the text control all character (the font must be an arabic font)

i am not sure what arabic text is like ... does it have characters / alphabets like english?

cos i work with chinese & other asian languages, and we have a lots of trouble displaying all the characters correctly even with fonts embeded (it is simply too big and not showing all characters)

but hopefully it should work fine for arabics


cheers
0
 
LVL 7

Author Comment

by:kanary
ID: 7980341
unfortunately im facing all ur problems.

arabic characters/alphabets are totally different from english.

i can't display all the characters correctly even with embeded fonts .

so, we should co-operate to find a solution for our problem :)
0
 
LVL 2

Expert Comment

by:James Peek
ID: 7983991
I've recently built a system that includes Arabic text display.

You can get away without embedding the font so long as the user has a unicode _sans font with Arabic character set installed -- basically if they are running WindowsXP with Arabic support they will.

Other than that, so long as your database is set up to allow ntext or nvarchar and can pass unicode out to your ASP page you should have no problems.

More of a dilema in Flash was that Arabic is a left to right script, which essentially means flipping all your UI elements around -- a hassle, but again, doable.

James
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 7

Author Comment

by:kanary
ID: 8002202
sorry, u didn't solve my problem
0
 

Expert Comment

by:bilalak
ID: 8101938
Dear Whodini2k
Can I have a look at your loading functions please
I am using Unicode and I have Arabic Installed
I am using XML with unicode but still the text is not appearing well. It is scambeled as if Flash did not detect the right encoding

Regards
0
 
LVL 2

Expert Comment

by:James Peek
ID: 8102011
I am using Flash remoting with CFMX to load the arabic directly from SQL2000 into Flash via coldfusion.  I'll see if I can isolate some of the loading routines for you and send them over.  Would suggest bypassing xml might be a good start however :)

James
0
 
LVL 6

Expert Comment

by:henryww
ID: 8102037
cool ... i would like to see that too ...

but i don't have cfmx ..!!!
0
 
LVL 2

Expert Comment

by:James Peek
ID: 8102206
Should be quite easy to port to .NET or Java as they both have remoting available to them (unfortunately not free).

Good news however, the AMF PHP remoting version seems to be pretty usable now -- http://amfphp.sourceforge.net/

Have given it a try and was able to seamlessly interchange a flash application with a previously coldfusion backend with a php version quite easily.  Very nice for making cross application server useable code :)

James
0
 
LVL 6

Expert Comment

by:henryww
ID: 8102240
cool ....

that's good, i was looking for remoting component for free but found none & cfmx is too expensive ...

that's excellent thanks whodini2k

cheers
0
 

Accepted Solution

by:
Chmod earned 0 total points
ID: 8888711
PAQ'd & points refunded

Chmod
Community Support Moderator @Experts Exchange
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

765 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