Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
Special symbols saving
Old 11-06-2008, 07:37 AM Special symbols saving
Junior Talker

Posts: 4
Trades: 0
Hallo everybody!
I'm trying to save "" symbol in my form and already in post value this symbol is turned into "?".
In Javascript this text is correct. But with submiting of the form the symbol € will be lost.
Is it a problem of the Server? Or... what can i do to save right text into the DataBank?
Thank you.
aksu is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-06-2008, 07:40 AM Re: Special symbols saving
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,515
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Use the correct character set UTF is probaly what you need
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 11-06-2008, 08:07 AM Re: Special symbols saving
Junior Talker

Posts: 4
Trades: 0
O thankx!!

I have ISO-8859-1. But in other project coding is also ISO-8859-1 and "€" and &ndash; and etc. are interepreted correctly.
Why?
Will destroy somthing when i change ISO-8859-1 to UTF ?
aksu is offline
Reply With Quote
View Public Profile
 
Old 11-06-2008, 12:24 PM Re: Special symbols saving
Junior Talker

Posts: 4
Trades: 0
I have found a decision!
On this step, where we are dealing with Construct of x-www-form-urlencoded string, where i have request.BinaryRead(binary_len ) I just made
val = replace(arr(1),"%96","–")
val = replace(val,"%97","—")
val = replace(val,"%80","€")

aksu is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Special symbols saving
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.12788 seconds with 12 queries