As part of URL I have ie: www.website.com?test=%F8%E5%C6%D8%C5
Requesting the querystring and displaying the content on web I just
get a bunch of squares instead of the special Danish characters that I
expect. But I don't know how to decode them properly. Do you?
Any help or pointer in the right direction is greatly appreciated -
thanks in advance!
Kind regards /Snedker 7 1463
Snedker wrote:
As part of URL I have ie:
www.website.com?test=%F8%E5%C6%D8%C5
Requesting the querystring and displaying the content on web I just
get a bunch of squares instead of the special Danish characters that I
expect. But I don't know how to decode them properly. Do you?
Any help or pointer in the right direction is greatly appreciated -
thanks in advance!
Kind regards /Snedker
How are you trying to decode them?
On 1 Sep., 14:14, Florian Paulus <florian.pau...@sc-cis.dewrote:
Snedker wrote:
As part of URL I have ie:
www.website.com?test=%F8%E5%C6%D8%C5
Requesting the querystring and displaying the content on web I just
get a bunch of squares instead of the special Danish characters that I
expect. But I don't know how to decode them properly. Do you?
Any help or pointer in the right direction is greatly appreciated -
thanks in advance!
Kind regards /Snedker
How are you trying to decode them?
Using System.Web.SystemHttpUtility.UrlDecode is what I've tried, but
not with the result of "squares"...
Regards /Snedker
On 1 Sep., 14:32, Snedker <Morten.Sned...@gmail.comwrote:
On 1 Sep., 14:14, Florian Paulus <florian.pau...@sc-cis.dewrote:
Snedker wrote:
As part of URL I have ie:
>www.website.com?test=%F8%E5%C6%D8%C5
Requesting the querystring and displaying the content on web I just
get a bunch of squares instead of the special Danish characters that I
expect. But I don't know how to decode them properly. Do you?
Any help or pointer in the right direction is greatly appreciated -
thanks in advance!
Kind regards /Snedker
How are you trying to decode them?
Using System.Web.SystemHttpUtility.UrlDecode is what I've tried, but
not with the result of "squares"...
Regards /Snedker
...but WITH the result of squares, that is... :-)
/snedker
Snedker wrote:
On 1 Sep., 14:32, Snedker <Morten.Sned...@gmail.comwrote:
>On 1 Sep., 14:14, Florian Paulus <florian.pau...@sc-cis.dewrote:
>>Snedker wrote: As part of URL I have ie: www.website.com?test=%F8%E5%C6%D8%C5 Requesting the querystring and displaying the content on web I just get a bunch of squares instead of the special Danish characters that I expect. But I don't know how to decode them properly. Do you? Any help or pointer in the right direction is greatly appreciated - thanks in advance! Kind regards /Snedker How are you trying to decode them?
Using System.Web.SystemHttpUtility.UrlDecode is what I've tried, but not with the result of "squares"...
Regards /Snedker
..but WITH the result of squares, that is... :-)
/snedker
Did you try to set the default encodings to utf-8 in your web.config?
<configuration>
<system.web>
<globalization
requestEncoding="utf-8"
responseEncoding="utf-8" />
</system.web>
</configuration>
On 1 Sep., 14:54, Florian Paulus <florian.pau...@sc-cis.dewrote:
Snedker wrote:
On 1 Sep., 14:32, Snedker <Morten.Sned...@gmail.comwrote:
On 1 Sep., 14:14, Florian Paulus <florian.pau...@sc-cis.dewrote:
>Snedker wrote: As part of URL I have ie: www.website.com?test=%F8%E5%C6%D8%C5 Requesting the querystring and displaying the content on web I just get a bunch of squares instead of the special Danish characters thatI expect. But I don't know how to decode them properly. Do you? Any help or pointer in the right direction is greatly appreciated - thanks in advance! Kind regards /Snedker How are you trying to decode them?
Using System.Web.SystemHttpUtility.UrlDecode is what I've tried, but
not with the result of "squares"...
Regards /Snedker
..but WITH the result of squares, that is... :-)
/snedker
Did you try to set the default encodings to utf-8 in your web.config?
<configuration>
* * <system.web>
* * * *<globalization
* * * * * requestEncoding="utf-8"
* * * * * responseEncoding="utf-8" />
* * </system.web>
</configuration>- Skjul tekst i anførselstegn -
- Vis tekst i anførselstegn -
Those exact settings are already set.
Thx for input and efforts!
Regards /Snedker
On 1 Sep., 15:38, Snedker <Morten.Sned...@gmail.comwrote:
On 1 Sep., 14:54, Florian Paulus <florian.pau...@sc-cis.dewrote:
Snedker wrote:
On 1 Sep., 14:32, Snedker <Morten.Sned...@gmail.comwrote:
>On 1 Sep., 14:14, Florian Paulus <florian.pau...@sc-cis.dewrote:
>>Snedker wrote:
>>>As part of URL I have ie:
>>>>www.website.com?test=%F8%E5%C6%D8%C5
>>>Requesting the querystring and displaying the content on web I just
>>>get a bunch of squares instead of the special Danish characters that I
>>>expect. But I don't know how to decode them properly. Do you?
>>>Any help or pointer in the right direction is greatly appreciated -
>>>thanks in advance!
>>>Kind regards /Snedker
>>How are you trying to decode them?
>Using System.Web.SystemHttpUtility.UrlDecode is what I've tried, but
>not with the result of "squares"...
>Regards /Snedker
..but WITH the result of squares, that is... :-)
/snedker
Did you try to set the default encodings to utf-8 in your web.config?
<configuration>
* * <system.web>
* * * *<globalization
* * * * * requestEncoding="utf-8"
* * * * * responseEncoding="utf-8" />
* * </system.web>
</configuration>- Skjul tekst i anførselstegn -
- Vis tekst i anførselstegn -
Those exact settings are already set.
Thx for input and efforts!
Hope that last sentence wasn't read as "problem solved"... :-)
regards /snedker
Hi Snedker,
Would you try System.Web.HttpUtility.UrlDecode?
--
All the best,
Coskun SUNALI
MVP ASP/ASP.NET http://sunali.com http://www.propeople.dk
"Snedker" <Mo************@gmail.comwrote in message
news:0f**********************************@f36g2000 hsa.googlegroups.com...
On 1 Sep., 14:14, Florian Paulus <florian.pau...@sc-cis.dewrote:
>Snedker wrote:
As part of URL I have ie:
>www.website.com?test=%F8%E5%C6%D8%C5
Requesting the querystring and displaying the content on web I just
get a bunch of squares instead of the special Danish characters that I
expect. But I don't know how to decode them properly. Do you?
Any help or pointer in the right direction is greatly appreciated -
thanks in advance!
Kind regards /Snedker
How are you trying to decode them?
Using System.Web.SystemHttpUtility.UrlDecode is what I've tried, but
not with the result of "squares"...
Regards /Snedker
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Simon |
last post by:
Newbie alert!
I have a webform listbox with what I am sure is a common requirement. I wish
to store a list of values but display a "translation" or decode. An example
would be 1, 2, 3, 4 and One,...
|
by: Guoqi Zheng |
last post by:
Dear sir,
I need to decode base64 encoded email.
I used below function but it does not work correctly, especially when I need
to decode some Characters like Chinese,
Can some one point out...
|
by: aurora |
last post by:
I have some unicode string with some characters encode using python
notation like '\n' for LF. I need to convert that to the actual LF
character. There is a 'unicode_escape' codec that seems to...
|
by: rsd |
last post by:
Hi,
I'm trying get Samsung YH-920 mp3 player to work with Debian GNU/Linux.
To do that I need to run
http://www.paul.sladen.org/toys/samsung-yh-925/yh-925-db-0.1.py
script, the idea behind the...
|
by: Oleg Parashchenko |
last post by:
Hello,
I'm working on an unicode-aware application. I like to use "print" to
debug programs, but in this case it was nightmare. The most popular
result of "print" was:
UnicodeDecodeError:...
| |
by: Tim Arnold |
last post by:
Hi, I'm beginning to understand the encode/decode string methods, but I'd
like confirmation that I'm still thinking in the right direction:
I have a file of latin1 encoded text. Let's say I put...
|
by: glacier |
last post by:
I use chinese charactors as an example here.
"'\\xc4\\xe3\\xba\\xc3\\xc2\\xf0'"
My first question is : what strategy does 'decode' use to tell the way
to seperate the words. I mean since s1 is...
|
by: Eric S. Johansson |
last post by:
I'm having a problem (Python 2.4) converting strings with random 8-bit
characters into an escape form which is 7-bit clean for storage in a database.
Here's an example:
body =...
|
by: d-fan |
last post by:
void decodebio( unsigned char *encbuf, unsigned char * decbuf, int
destbuf ) {
/* Read Base64 encoded data from standard input and write the
decoded data to standard output: */
BIO...
|
by: anonymous |
last post by:
1 Objective to write little programs to help me learn German. See code
after numbered comments. //Thanks in advance for any direction or
suggestions.
tk
2 Want keyboard answer input, for...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |