Hi All,
I have created an application which is working fine and is in about to
launch, now suddenly my mgmt says there are chances that Scrip ID( a
particular id and not prim key) may have special characters like '&,*,),( or
/'
This data(field/key) I am passing this value as a querystring. e.g.
value to be passed : ABC http://localhost/myProj/abc.aspx?ScripID=ABC
this works fine,
But when I have special characters like [ABC&D] then the value retrieved is
wrong it just retrieves ABC and not complete ID [ABC&D]
value to be passed : ABC&D http://localhost/myProj/abc.aspx?ScripID=ABC&D
how do I overcome this, I know I can do it like we have %20 for space and
like wise for & there will be something, but this will be a major change to
my application, can I do this at one end some where in web.config or in aspx
page?
Regards,
Shailesh Gajare
Nov 19 '05
20 9393
Juan T. Llibre wrote: Hi, Joerg.
Take a look at the result : http://asp.net.do/test/utf-8.aspx ( Browsing it with IE6 set to use utf-8 results in the same.)
Now, look at the same code, using iso-8859-1 : http://asp.net.do/test3/iso-8859-1.aspx ( Browsing with IE6 set to "Auto-select", results in Western European getting selected.)
I've had numerous problems with utf-8, all of which result in common characters in spanish not geting displayed.
Using iso-8859-1 gets rid of the problems.
I'm pretty sure that your source file's encoding is incorrect, because
in the UTF-8 version, the characters aren't even contained in the HTTP
response; the Content-Length is significantly less as well.
I also wouldn't be using XHTML for an encoding test, because a 10
minute experiment shows that both Firefox and IE aren't up to the task,
yet (or I did something very stupid).
Feel free to send me your project files and I'll investigate.
Cheers,
-- http://www.joergjooss.de
mailto:ne****** **@joergjooss.d e
I'll send you both file/web.config sets.
They are identical except for the file encoding.
Juan T. Llibre
ASP.NET MVP http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
=============== =======
"Joerg Jooss" <ne********@joe rgjooss.de> wrote in message
news:xn******** ********@msnews .microsoft.com. .. Juan T. Llibre wrote:
Hi, Joerg.
Take a look at the result : http://asp.net.do/test/utf-8.aspx ( Browsing it with IE6 set to use utf-8 results in the same.)
Now, look at the same code, using iso-8859-1 : http://asp.net.do/test3/iso-8859-1.aspx ( Browsing with IE6 set to "Auto-select", results in Western European getting selected.)
I've had numerous problems with utf-8, all of which result in common characters in spanish not geting displayed.
Using iso-8859-1 gets rid of the problems.
I'm pretty sure that your source file's encoding is incorrect, because in the UTF-8 version, the characters aren't even contained in the HTTP response; the Content-Length is significantly less as well.
I also wouldn't be using XHTML for an encoding test, because a 10 minute experiment shows that both Firefox and IE aren't up to the task, yet (or I did something very stupid).
Feel free to send me your project files and I'll investigate.
Cheers, -- http://www.joergjooss.de mailto:ne****** **@joergjooss.d e
I am waiting for you......
"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:OA******** *****@TK2MSFTNG P12.phx.gbl...
I'll send you both file/web.config sets.
They are identical except for the file encoding.
Juan T. Llibre
ASP.NET MVP http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
=============== =======
"Joerg Jooss" <ne********@joe rgjooss.de> wrote in message
news:xn******** ********@msnews .microsoft.com. .. Juan T. Llibre wrote:
Hi, Joerg.
Take a look at the result : http://asp.net.do/test/utf-8.aspx ( Browsing it with IE6 set to use utf-8 results in the same.)
Now, look at the same code, using iso-8859-1 : http://asp.net.do/test3/iso-8859-1.aspx ( Browsing with IE6 set to "Auto-select", results in Western European getting selected.)
I've had numerous problems with utf-8, all of which result in common characters in spanish not geting displayed.
Using iso-8859-1 gets rid of the problems.
I'm pretty sure that your source file's encoding is incorrect, because in the UTF-8 version, the characters aren't even contained in the HTTP response; the Content-Length is significantly less as well.
I also wouldn't be using XHTML for an encoding test, because a 10 minute experiment shows that both Firefox and IE aren't up to the task, yet (or I did something very stupid).
Feel free to send me your project files and I'll investigate.
Cheers, -- http://www.joergjooss.de mailto:ne****** **@joergjooss.d e
I mailed them last night at 7 to joergjooss.de ( the news-reply alias ).
I haven't received a notice of refusal or problem.
Check your spam strap and/or attachment filter
and let me know if I should resend to the same
or to a different address.
Juan T. Llibre
ASP.NET MVP http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
=============== =======
"SMG" <SM*@nodmain.co m> wrote in message news:u1******** ******@tk2msftn gp13.phx.gbl... I am waiting for you......
"Juan T. Llibre" <no***********@ nowhere.com> wrote in message news:OA******** *****@TK2MSFTNG P12.phx.gbl... I'll send you both file/web.config sets. They are identical except for the file encoding.
Juan T. Llibre ASP.NET MVP http://asp.net.do/foros/ Foros de ASP.NET en Español Ven, y hablemos de ASP.NET... =============== =======
"Joerg Jooss" <ne********@joe rgjooss.de> wrote in message news:xn******** ********@msnews .microsoft.com. .. Juan T. Llibre wrote:
Hi, Joerg.
Take a look at the result : http://asp.net.do/test/utf-8.aspx ( Browsing it with IE6 set to use utf-8 results in the same.)
Now, look at the same code, using iso-8859-1 : http://asp.net.do/test3/iso-8859-1.aspx ( Browsing with IE6 set to "Auto-select", results in Western European getting selected.)
I've had numerous problems with utf-8, all of which result in common characters in spanish not geting displayed.
Using iso-8859-1 gets rid of the problems.
I'm pretty sure that your source file's encoding is incorrect, because in the UTF-8 version, the characters aren't even contained in the HTTP response; the Content-Length is significantly less as well.
I also wouldn't be using XHTML for an encoding test, because a 10 minute experiment shows that both Firefox and IE aren't up to the task, yet (or I did something very stupid).
Feel free to send me your project files and I'll investigate.
Cheers, -- http://www.joergjooss.de mailto:ne****** **@joergjooss.d e
Sorry for the previous message.
SMG, if you think I will individually mail sets of files
to everybody who reads this newsgroup, especially
someone with a fake address, either you're nuts,
or your sense of humor is rusty.
Thanks for wasting my time.
Juan T. Llibre
ASP.NET MVP http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
=============== =======
"SMG" <SM*@nodmain.co m> wrote in message news:u1******** ******@tk2msftn gp13.phx.gbl... I am waiting for you......
"Juan T. Llibre" <no***********@ nowhere.com> wrote in message news:OA******** *****@TK2MSFTNG P12.phx.gbl... I'll send you both file/web.config sets. They are identical except for the file encoding.
Juan T. Llibre ASP.NET MVP http://asp.net.do/foros/ Foros de ASP.NET en Español Ven, y hablemos de ASP.NET... =============== =======
"Joerg Jooss" <ne********@joe rgjooss.de> wrote in message news:xn******** ********@msnews .microsoft.com. .. Juan T. Llibre wrote:
Hi, Joerg.
Take a look at the result : http://asp.net.do/test/utf-8.aspx ( Browsing it with IE6 set to use utf-8 results in the same.)
Now, look at the same code, using iso-8859-1 : http://asp.net.do/test3/iso-8859-1.aspx ( Browsing with IE6 set to "Auto-select", results in Western European getting selected.)
I've had numerous problems with utf-8, all of which result in common characters in spanish not geting displayed.
Using iso-8859-1 gets rid of the problems.
I'm pretty sure that your source file's encoding is incorrect, because in the UTF-8 version, the characters aren't even contained in the HTTP response; the Content-Length is significantly less as well.
I also wouldn't be using XHTML for an encoding test, because a 10 minute experiment shows that both Firefox and IE aren't up to the task, yet (or I did something very stupid).
Feel free to send me your project files and I'll investigate.
Cheers, -- http://www.joergjooss.de mailto:ne****** **@joergjooss.d e
Juan T. Llibre wrote: I mailed them last night at 7 to joergjooss.de ( the news-reply alias ).
Note that do I have a real job and am not being paid by MS for one hour
response times ;-) ;-)
I'll reply by mail, and we'll post the solution once we're there.
Cheers,
-- http://www.joergjooss.de
mailto:ne****** **@joergjooss.d e
heh, heh...
I actually was posting to somebody else's
idea of a joke, by mistake, and not to you.
I'll be looking forward to getting this puzzle solved.
;-)
Juan T. Llibre
ASP.NET MVP http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
=============== =======
"Joerg Jooss" <ne********@joe rgjooss.de> wrote in message
news:xn******** ********@msnews .microsoft.com. .. Juan T. Llibre wrote:
I mailed them last night at 7 to joergjooss.de ( the news-reply alias ).
Note that do I have a real job and am not being paid by MS for one hour response times ;-) ;-)
I'll reply by mail, and we'll post the solution once we're there.
Cheers, -- http://www.joergjooss.de mailto:ne****** **@joergjooss.d e
Juan T. Llibre wrote: heh, heh...
I actually was posting to somebody else's idea of a joke, by mistake, and not to you.
Sure, but I still felt inclined to respond ;-)
Mail has been sent.
Cheers,
-- http://www.joergjooss.de
mailto:ne****** **@joergjooss.d e
Na m Not,
I thot you will post the solution over here..my thinking is going mad...
Anyways, you can mail me solution at ga***@iitiim.co m
thanks... I need solution urgently, please send it ASAP :-)
when going gets tough, Tough gets going...... :-)
Shailesh G
"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:eL******** ******@TK2MSFTN GP15.phx.gbl...
Sorry for the previous message.
SMG, if you think I will individually mail sets of files
to everybody who reads this newsgroup, especially
someone with a fake address, either you're nuts,
or your sense of humor is rusty.
Thanks for wasting my time.
Juan T. Llibre
ASP.NET MVP http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
=============== =======
"SMG" <SM*@nodmain.co m> wrote in message
news:u1******** ******@tk2msftn gp13.phx.gbl... I am waiting for you......
"Juan T. Llibre" <no***********@ nowhere.com> wrote in message news:OA******** *****@TK2MSFTNG P12.phx.gbl... I'll send you both file/web.config sets. They are identical except for the file encoding.
Juan T. Llibre ASP.NET MVP http://asp.net.do/foros/ Foros de ASP.NET en Español Ven, y hablemos de ASP.NET... =============== =======
"Joerg Jooss" <ne********@joe rgjooss.de> wrote in message news:xn******** ********@msnews .microsoft.com. .. Juan T. Llibre wrote:
Hi, Joerg.
Take a look at the result : http://asp.net.do/test/utf-8.aspx ( Browsing it with IE6 set to use utf-8 results in the same.)
Now, look at the same code, using iso-8859-1 : http://asp.net.do/test3/iso-8859-1.aspx ( Browsing with IE6 set to "Auto-select", results in Western European getting selected.)
I've had numerous problems with utf-8, all of which result in common characters in spanish not geting displayed.
Using iso-8859-1 gets rid of the problems.
I'm pretty sure that your source file's encoding is incorrect, because in the UTF-8 version, the characters aren't even contained in the HTTP response; the Content-Length is significantly less as well.
I also wouldn't be using XHTML for an encoding test, because a 10 minute experiment shows that both Firefox and IE aren't up to the task, yet (or I did something very stupid).
Feel free to send me your project files and I'll investigate.
Cheers, -- http://www.joergjooss.de mailto:ne****** **@joergjooss.d e
Joerg and I are working on a solution offline.
We are very close to a solution right now.
As soon as we have one, we'll post it here.
Juan T. Llibre
ASP.NET MVP http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
=============== =======
"SMG" <SM*@nodmain.co m> wrote in message news:%2******** **********@TK2M SFTNGP14.phx.gb l... Na m Not, I thot you will post the solution over here..my thinking is going mad... Anyways, you can mail me solution at ga***@iitiim.co m thanks... I need solution urgently, please send it ASAP :-)
when going gets tough, Tough gets going...... :-) Shailesh G "Juan T. Llibre" <no***********@ nowhere.com> wrote in message news:eL******** ******@TK2MSFTN GP15.phx.gbl... Sorry for the previous message.
SMG, if you think I will individually mail sets of files to everybody who reads this newsgroup, especially someone with a fake address, either you're nuts, or your sense of humor is rusty.
Thanks for wasting my time. Juan T. Llibre ASP.NET MVP http://asp.net.do/foros/ Foros de ASP.NET en Español Ven, y hablemos de ASP.NET... =============== =======
"SMG" <SM*@nodmain.co m> wrote in message news:u1******** ******@tk2msftn gp13.phx.gbl...I am waiting for you......
"Juan T. Llibre" <no***********@ nowhere.com> wrote in message news:OA******** *****@TK2MSFTNG P12.phx.gbl... I'll send you both file/web.config sets. They are identical except for the file encoding.
Juan T. Llibre ASP.NET MVP http://asp.net.do/foros/ Foros de ASP.NET en Español Ven, y hablemos de ASP.NET... =============== =======
"Joerg Jooss" <ne********@joe rgjooss.de> wrote in message news:xn******** ********@msnews .microsoft.com. .. Juan T. Llibre wrote:
Hi, Joerg.
Take a look at the result : http://asp.net.do/test/utf-8.aspx ( Browsing it with IE6 set to use utf-8 results in the same.)
Now, look at the same code, using iso-8859-1 : http://asp.net.do/test3/iso-8859-1.aspx ( Browsing with IE6 set to "Auto-select", results in Western European getting selected.)
I've had numerous problems with utf-8, all of which result in common characters in spanish not geting displayed.
Using iso-8859-1 gets rid of the problems.
I'm pretty sure that your source file's encoding is incorrect, because in the UTF-8 version, the characters aren't even contained in the HTTP response; the Content-Length is significantly less as well.
I also wouldn't be using XHTML for an encoding test, because a 10 minute experiment shows that both Firefox and IE aren't up to the task, yet (or I did something very stupid).
Feel free to send me your project files and I'll investigate.
Cheers, -- http://www.joergjooss.de mailto:ne****** **@joergjooss.d e
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: mr h q |
last post by:
Hi all,
i want to replace $ to \$ so linux can work with paths and filenames
that contain $.
I wrote the following code
for(string::size_type i = s.find(exist, 0); i != string::npos; i =
s.find(foo, i))
{
s.replace(i, foo.size(), bar);
|
by: Ewok |
last post by:
let me just say. it's not by choice but im dealing with a .net web app (top
down approach with VB and a MySQL database) sigh.....
Anyhow, I've just about got all the kinks worked out but I am having trouble
preserving data as it gets entered into the database. Primarily, quotes and
special characters.
Spcifically, I noticed it stripped out some double quotes and a "Registered"
symbol ® (not the ascii but the actual character"
|
by: Jorge Ribeiro |
last post by:
hell
I've an ASP.Net page that, by the action of one submit button, redirects from one Web form to another passin
in the query string one value that will be processed in the later web form
So far so good
My question derives from the fact that, because I'm using portuguese keyboard layout and language, some special characters cannot be passed on the query string unless I escape them..
To eliminate this, on the onclick event of the...
|
by: SMG - Idealake |
last post by:
Hi All,
I have created an application which is working fine and is in about to
launch, now suddenly my mgmt says there are chances that Scrip ID( a
particular id and not prim key) may have special characters like '&,*,) or
/'
This data(field/key) I am passing this value as a querystring. e.g.
value to be passed : ABC
http://localhost/myProj/abc.aspx?ScripID=ABC
|
by: Sakharam Phapale |
last post by:
Hi All,
I am using an API function, which takes file path as an input.
When file path contains special characters (@,#,$,%,&,^, etc), API function
gives an error as "Unable to open input file".
Same file path containing special characters works fine in one machine, but
doesn't work in other.
I am using following API function to get short file path.
Declare Auto Function GetShortPathName Lib "kernel32" (ByVal lpszLongPath As
| |
by: Carl Mercier |
last post by:
Hi,
Is it possible to use special characters like \n or \t in a VB.NET
string, just like in C#? My guess is NO, but maybe there's something I
don't know.
If it's not possible, does anybody know of a VB.NET function (somebody
must have coded this already) that will interpret strings containings
those special characters, and handle them the same as in C#?
|
by: david.lindsay.green |
last post by:
Hello all, I am quite new a web scripting and making web pages in
general and I have stumbled across a problem I have as yet been unable
to solve. I am trying to take the contents of a textarea box and save
it to a file. This step is not to hard however the contents of the
textarea is mostly latex source so it contains just about every special
character you can imagine. My question is this, how do I save an exact
copy of the textarea...
|
by: TheRealDan |
last post by:
Hi all.
I'm having a problem with a special characters.
I have php script that reads from an xml file and writes to a mysql db.
It's a script called phptunest that I found on the net, although the
original website for the author appears to be gone.
It works really nicely except when it hits special characters. Everything from a sp char forward
just gets lost. It is using mysql_real_escape_string, but that doesn't seem to help with the ...
|
by: dearsaran |
last post by:
Hi,
I Want a function written for finding the special characters in a emailid..
Suppose, i've a column email in a table and inserting a emailid with any of the special characters then if i compile the funtion then it should show the wrong emailid's
Example: If a emailid is dear#$saran@gmail!#$%.com then 1st it should check any special char from 1st letter to '@' and one more condition is after @ is there any sepcial char(even space is...
|
by: Sobin Thomas |
last post by:
Hi All,
I want to pass a string that contains many special characters (: \ . _
etc) to another page in my website
through query string.
In my project I have a Gridview control ,in which there is a hyperlink
field.The Gridview 's datasource is set as a database table at runtime.The
hyperlink filed's DataNavigateUrlFields is set to "RecordID" ,which is a
field in my database table.The RecordID field contains many special
characters.I...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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 we have to send another system
| |