473,624 Members | 2,273 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

encoding french

Hi ,

I used "Request.Pa rams["sName"]" on the Page_Load event.

I could not read the French like "é" If the sName has French, ie. if I pass the url like "webFom1?sName= 'abé'", then the Request.Params["sName"]"will equal to "ab", the "é" get choped.,
What should I do?

I used System.text; and set Request.content Encoding =encoding.defau lt or Request.content Encoding =encoding.utf-7, none of them works.

Thanks, Jasmine
Jul 19 '05 #1
0 1852

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2671
by: Neet | last post by:
Hi, I am currently working on sending an XML request to a server and it responds with an xml response. This request and response use ISO-8859-1 encoding. The xml request and response need to match. The Response i get, replaces some of the French text with <e9> characters, and the request that i send them has <c3><a9> as the characters which identify the French text. When i convert both to a string, they return the identical text, but the xml...
5
3653
by: Hardy Wang | last post by:
Hi, I have following code: Encoding mode; // Encoding.Default or Encoding.UTF8 FileStream sb = new FileStream(fullPathAndFileName, FileMode.Create); StreamWriter sw = new StreamWriter(sb, mode); sw.Write(textContent); sw.Close(); My question is under what situation, the saved files are different by calling Encoding.Default and Encoding.UTF8.
5
1655
by: MattB | last post by:
I have the following function I use in my application quite a bit (I missed the VFP one and decided to make my own): Public Shared Function File2String(ByVal strFile) 'Open a file for reading Dim strFilename As String = strFile 'Get a StreamReader class that can be used to read the file Dim objStreamReader As System.IO.StreamReader Try
4
3600
by: None | last post by:
Hi, Our Website is french website. When we search in google for our site its showing the title name with some characters like -- droit propriété industrielle, protection propriétà ... But in our default.aspx page we given title as droit propriété industrielle, protection propriété intellectuelle. we have added french encoding meta tag like below. <meta http-equiv="content-type" content="text/html;
5
5753
by: John C. | last post by:
Hi, I've tried using System.Web.HttpUtility.UrlEncode("é") with each of the possible encodings ASCII, Unicode, UTF7, UTF8 but none of these gives what I want: %e9. And so on for the other French characters. Am I missing something here?
0
1339
by: Stephane | last post by:
Hi, I have a french website which is using windows-1252 encoding. I built a log analyzer in asp.net C# which looks at the referer URL to check what are the queries made from search engines. I have a problem with french accent and encoding. For example, I search for « Stéphane » (notice the « e » with an accent ), and the querystring sent by google is this:
6
2741
by: Jiba | last post by:
Hi all, I am desperately searching for the encoding of sys.argv. I use a Linux box, with French UTF-8 locales and an UTF-8 filesystem. sys.getdefaultencoding() is "ascii" and sys.getfilesystemencoding() is "utf-8". However, sys.argv is neither in ASCII (since I can pass French accentuated character), nor in UTF-8. It seems to be encoded in "latin-1", but why ? Jiba
1
1089
by: Tim Arnold | last post by:
I have the contents of a file that contains French documentation. I've iterated over it and now I want to write it out to a file. I'm running into problems and I don't understand why--I don't get how the encoding works. My first attempt was just this: < snipped code for classes, etc; fname is string, codecs module loaded.> < self.contents is the French file's contents as a single string > tFile =...
14
5753
by: Zoro | last post by:
My task is to read html files from disk and save them onto SQL Server database field. I have created an nvarchar(max) field to hold them. The problem is that some characters, particularly html entities, and French/German special characters are lost and/or replaced by a question mark. This is really frustrating. I have tried using StreamReader with ALL the encodings available and none work correctly. Each encoding handles some characters...
0
8233
marktang
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...
0
8619
jinu1996
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...
1
8334
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8474
tracyyun
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...
0
5561
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();...
0
4078
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4173
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2604
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
2
1482
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.