473,508 Members | 2,515 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to decode iso-8859-1

I have this kind of string,

dim myString as string = " =E0 ton essai d'=E9tablir une"

i know the kind of encoding, here I have iso-8859-1

dim charset as string ="iso-8859-1"

how to decode it with a component of the .NET Framework?

thanks
steve
Nov 12 '05 #1
3 8220
Encoding e = Encoding.GetEncoding("iso-8859-1");
e.GetChars(byte[] buffer...);
"steve mettraux" <st***@mettraux.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
I have this kind of string,

dim myString as string = " =E0 ton essai d'=E9tablir une"

i know the kind of encoding, here I have iso-8859-1

dim charset as string ="iso-8859-1"

how to decode it with a component of the .NET Framework?

thanks
steve

Nov 12 '05 #2
It's seems not working, it brings back exactly the same string.
The result should be : "ŕ ton essai d'établir une"
"Chris Lovett" <chris@!nospam!.net> schrieb im Newsbeitrag
news:vs************@corp.supernews.com...
Encoding e = Encoding.GetEncoding("iso-8859-1");
e.GetChars(byte[] buffer...);
"steve mettraux" <st***@mettraux.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
I have this kind of string,

dim myString as string = " =E0 ton essai d'=E9tablir une"

i know the kind of encoding, here I have iso-8859-1

dim charset as string ="iso-8859-1"

how to decode it with a component of the .NET Framework?

thanks
steve


Nov 12 '05 #3
steve mettraux wrote:
It's seems not working, it brings back exactly the same string.
The result should be : "ŕ ton essai d'établir une"

dim myString as string = " =E0 ton essai d'=E9tablir une"


Actually above seems like quoted printable encoded text, not just
iso-8859-1 encoded one.
--
Oleg Tkachenko
XML Insider
http://www.tkachenko.com/blog

Nov 12 '05 #4

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

Similar topics

0
2339
by: Matt Oefinger | last post by:
Hello gurus, I'm trying to do a search through an encrypted database (to which I have the key). I want to use the LIKE operator in MySQL rather than dumping out all entries and sorting in Perl,...
10
111247
by: N | last post by:
What is the function in SQL that works like DECODE in Oracle?" Thanks, N
1
3708
by: richasaraf | last post by:
Hello everyone, I'm facing problem in converting CASE statements into DECODE. As i have PL/SQL 8i, so it does not handle CASE statements. Please send me the solutions . Then basic problem is the...
0
3485
by: richasaraf | last post by:
Hello everyone, Please HELP !!!!! I'm facing problem in converting CASE statements into DECODE. As i have PL/SQL 8i, so it does not handle CASE statements. Please send me the solutions . Then...
0
1502
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,...
2
10258
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...
2
3393
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...
1
2760
by: dande | last post by:
my problem is I have used invoice table, patient table.In Invoice table date,cash,credit, cheque,advance,total is coming.but in patient table having registration type code having gen registraion...
11
13095
by: dan-x | last post by:
I am a novice to SQL Server, so this is probably a really easy problem to fix. I'm translating an Oracle query and need to change the 'decode' to something compatible. Everything I've read points...
1
5755
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...
0
7231
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,...
0
7336
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7405
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...
1
5059
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...
0
4724
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...
0
3214
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...
0
1568
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 ...
1
773
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
435
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...

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.