Welcome to Dream.In.Code
Getting Help is Easy!

Join 107,665 Programmers for FREE! Ask your question and get quick answers from experts. There are 1,057 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



how to store mathemathical character, example "α∫β

 
Reply to this topicStart new topic

how to store mathemathical character, example "α∫β

jonyhock
post 24 Jul, 2008 - 08:23 PM
Post #1


New D.I.C Head

*
Joined: 24 Jul, 2008
Posts: 7

how to store mathemathical chraracters to database(i'm use MSaccess 2003) with flash 8...
when i try it..for example i store "α∫β∏" ...when i see in my table.. it show "????"...

anybody can help?
User is offlineProfile CardPM

Go to the top of the page


PsychoCoder
post 24 Jul, 2008 - 09:55 PM
Post #2


DIC.Rules == true;

Group Icon
Joined: 26 Jul, 2007
Posts: 7,143



Thanked 50 times

Dream Kudos: 7700

Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, GDI

My Contributions


Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Please post like this:

Thank you for helping us helping you.
User is online!Profile CardPM

Go to the top of the page

jonyhock
post 25 Jul, 2008 - 02:24 AM
Post #3


New D.I.C Head

*
Joined: 24 Jul, 2008
Posts: 7

i use MDM zinc to connect flash with MSaccess 2003
i have a table that has one field..the field type is a text

code button :
[
CODE

on (press) {
mdm.Database.MSAccess.connect("database.mdb");
mdm.Database.MSAccess.runQuery('INSERT INTO Table1 VALUES("∏βα∫")');
}


when i press the button.. and then,, i goto see my table.. it show "????"
User is offlineProfile CardPM

Go to the top of the page

Trogdor
post 28 Jul, 2008 - 05:26 AM
Post #4


D.I.C Regular

Group Icon
Joined: 6 Oct, 2006
Posts: 443



Thanked 1 times

Dream Kudos: 125
My Contributions


I assume these characters are stored as unicode.
I am pretty sure that flash has some trouble with unicode, especialy if you are not using system fonts.
Take a look at the font embedding in your flash.
User is offlineProfile CardPM

Go to the top of the page

jonyhock
post 29 Jul, 2008 - 12:33 AM
Post #5


New D.I.C Head

*
Joined: 24 Jul, 2008
Posts: 7

i have emmbed my textbox in flash...
but, there is no effect..

..anybody have solutions of this problem..
User is offlineProfile CardPM

Go to the top of the page

Trogdor
post 29 Jul, 2008 - 05:46 AM
Post #6


D.I.C Regular

Group Icon
Joined: 6 Oct, 2006
Posts: 443



Thanked 1 times

Dream Kudos: 125
My Contributions


I mentioned font embedding. Did you check that?
Did you check what is the exact data going into flash?
if you are unable to find out what is going 'over the line' you might want to take a look at this tool:
http://www.charlesproxy.com/
I used it to great effect before and can recomend it to anyone that needs to do web debugging.
User is offlineProfile CardPM

Go to the top of the page

jonyhock
post 30 Jul, 2008 - 02:01 AM
Post #7


New D.I.C Head

*
Joined: 24 Jul, 2008
Posts: 7

QUOTE(Trogdor @ 29 Jul, 2008 - 05:46 AM) *

I mentioned font embedding. Did you check that?
Did you check what is the exact data going into flash?
if you are unable to find out what is going 'over the line' you might want to take a look at this tool:
http://www.charlesproxy.com/
I used it to great effect before and can recomend it to anyone that needs to do web debugging.


before, i want to say tanks..
i have been check that link...
but my apllication use MDM zinc to connect database..not XML...
smile.gif

User is offlineProfile CardPM

Go to the top of the page

Trogdor
post 30 Jul, 2008 - 02:17 AM
Post #8


D.I.C Regular

Group Icon
Joined: 6 Oct, 2006
Posts: 443



Thanked 1 times

Dream Kudos: 125
My Contributions


What version of zinc ?
http://www.multidmedia.com/support/bugs/?a...tail&id=253
if you use 3.06 or 3.07, try to display the stuff you get back with a Dialogs.prompt
If it then works properly you know that the problem is in your flash.

The power of google....
User is offlineProfile CardPM

Go to the top of the page

jonyhock
post 30 Jul, 2008 - 08:39 AM
Post #9


New D.I.C Head

*
Joined: 24 Jul, 2008
Posts: 7

QUOTE(Trogdor @ 30 Jul, 2008 - 02:17 AM) *

What version of zinc ?
http://www.multidmedia.com/support/bugs/?a...tail&id=253
if you use 3.06 or 3.07, try to display the stuff you get back with a Dialogs.prompt
If it then works properly you know that the problem is in your flash.

The power of google....


i use mdm version 2.5
...
but i already download the latest version..version 3.0.7
when, i try dialogs.prompt to show unicode character... it work perfectly..
...
but if i want to use flash to store unicode character to database with mdm zinc...it still have a problem..
wink2.gif

User is offlineProfile CardPM

Go to the top of the page

Trogdor
post 31 Jul, 2008 - 02:21 AM
Post #10


D.I.C Regular

Group Icon
Joined: 6 Oct, 2006
Posts: 443



Thanked 1 times

Dream Kudos: 125
My Contributions


Then you know that either the flash frontend does not support the display of these unicode characters, or your database doesnt.
If you store them manualy into your database, do you see them back in your database tool?
And does the flash manage to get them out and display them?
User is offlineProfile CardPM

Go to the top of the page

jonyhock
post 6 Aug, 2008 - 06:05 AM
Post #11


New D.I.C Head

*
Joined: 24 Jul, 2008
Posts: 7

i think, flash doesn't support unicode character..
maybe i must use another tools programing like php..is it ?
User is offlineProfile CardPM

Go to the top of the page

Trogdor
post 12 Aug, 2008 - 10:15 AM
Post #12


D.I.C Regular

Group Icon
Joined: 6 Oct, 2006
Posts: 443



Thanked 1 times

Dream Kudos: 125
My Contributions


Flash does support unicode, if you compile the characters into the flash and the font you use is supporting them.
You can try this by forst putting some unicode strings hardcoded in your flash and displaying them (for example in a dynamic textfield)
If you get that to work it should go with dynamic data from zinc.

Php outputs html, and that does not support unicode in the common sense of the word.
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 8/29/08 10:48PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month