473,406 Members | 2,843 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Good idea to change default encoding?

I have a web service that returns an xml doc as a string. I use a
StringWriter with my XmlTextWriter and the encoding attribute for the
document becomes utf-16.
If I save the result of the web service to a file, the document won't
parse in I.E. unless I change the responseEncoding in my web.config to
utf-16 and write the result to file encoded in unicode.

I've read that utf-8 is a more standard encoding; is it acceptable to
change the default encoding like this?
Nov 23 '05 #1
0 1876

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

Similar topics

2
by: Ann | last post by:
Hi, Is there any way to Change encoding of Java Vm to ISO-8859-1? i am using Java vm along with an application called opencms. I get the following error message.. Error: the encoding of your...
2
by: Ramesh | last post by:
hi, I like to use COM in my application. I would like to know the following information. 1. How to create COM in C#.Net Web ( i know litter bit). 2. How to change assembly info to use this COM....
0
by: mom_newbie | last post by:
Dear all, Could someone suggest a good WSDL reading, oriented for manual Web services implementation? There are plenty working ATL and .NET examples in Internet, but I have troubles making a...
4
by: perspolis | last post by:
Hi all how can I change default encoding for saving C# files?? I want to set it always to Unicode -CodePage1200. thanks.
0
by: André | last post by:
I'm trying to change an app so that it uses gettext for translations rather than the idiosyncratic way I am using. I've tried the example on the wxPython wiki...
0
by: sindhuja | last post by:
How to change the default encoding of asp .net webservice to ISO-8859-1? I have tried the following but have ' nt got my work done > I modified the globalization attribute in web.config > I...
14
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...
4
by: Ron Garret | last post by:
Is there a way to change the default string encoding used by the string.encode() method? My default environment is utf-8 but I need it to be latin-1 to avoid errors like this: Traceback (most...
1
by: ziycon | last post by:
I'm wondering how you change the default encoding on SQL server and also how do you change the encoding on existing tables in a SQL DB?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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...
0
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...
0
agi2029
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,...
0
isladogs
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...

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.