473,770 Members | 2,104 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem with Character Encoding

Hello everyone,

I am familiar with C, C++ and Java and just started diving into
C# .NET but ran into a recent snag. I have been trying to add a
function to a custom mp3 tag editor that can convert "gibberish" like
"¿ï±îº Á ¿ôÀݾÆ"to it's original form in Korean as "울까봐 웃잖아" (I
understand that if you don't have the Korean language pack installed
you won't be able to see the original form, sorry). I am not very
familiar with string encoding but I have tried to read some articles
(a lot went over my head) and forum posts on similar subjects but
nothing really addresses the problem or really helps me to solve the
issue. Any examples, or if someone could lead me in the right
direction would be extremely helpful. Thank you.

Joe

Jun 24 '07 #1
3 2981
the only very important thing to know (understand), is in what encoding your
gibberish bytes are (is that UTF-8 or whatelse).
Then it is easy enough to use ProperEncoding. GetString (Gibberish) where
ProperEencoding is formed from the above knowledge.

/LM

<jo****@gmail.c omwrote in message
news:11******** *************@i 13g2000prf.goog legroups.com...
Hello everyone,

I am familiar with C, C++ and Java and just started diving into
C# .NET but ran into a recent snag. I have been trying to add a
function to a custom mp3 tag editor that can convert "gibberish" like
" ݾ" to it's original form in Korean as "??? ???" (I
understand that if you don't have the Korean language pack installed
you won't be able to see the original form, sorry). I am not very
familiar with string encoding but I have tried to read some articles
(a lot went over my head) and forum posts on similar subjects but
nothing really addresses the problem or really helps me to solve the
issue. Any examples, or if someone could lead me in the right
direction would be extremely helpful. Thank you.

Joe
Jun 24 '07 #2
JC
On Jun 23, 8:47 pm, "Luc E. Mistiaen"
<luc.misti...@a dvalvas.be.no.s pamwrote:
the only very important thing to know (understand), is in what encoding your
gibberish bytes are (is that UTF-8 or whatelse).
Then it is easy enough to use ProperEncoding. GetString (Gibberish) where
ProperEencoding is formed from the above knowledge.

/LM

<joe...@gmail.c omwrote in message

news:11******** *************@i 13g2000prf.goog legroups.com...
Hello everyone,

I am familiar with C, C++ and Java and just started diving into
C# .NET but ran into a recent snag. I have been trying to add a
function to a custom mp3 tag editor that can convert "gibberish" like
" ݾ" to it's original form in Korean as "??? ???" (I
understand that if you don't have the Korean language pack installed
you won't be able to see the original form, sorry). I am not very
familiar with string encoding but I have tried to read some articles
(a lot went over my head) and forum posts on similar subjects but
nothing really addresses the problem or really helps me to solve the
issue. Any examples, or if someone could lead me in the right
direction would be extremely helpful. Thank you.

Joe
Thank you LM.

Jun 24 '07 #3
JC
On Jun 23, 8:47 pm, "Luc E. Mistiaen"
<luc.misti...@a dvalvas.be.no.s pamwrote:
the only very important thing to know (understand), is in what encoding your
gibberish bytes are (is that UTF-8 or whatelse).
Then it is easy enough to use ProperEncoding. GetString (Gibberish) where
ProperEencoding is formed from the above knowledge.

/LM

<joe...@gmail.c omwrote in message

news:11******** *************@i 13g2000prf.goog legroups.com...
Hello everyone,

I am familiar with C, C++ and Java and just started diving into
C# .NET but ran into a recent snag. I have been trying to add a
function to a custom mp3 tag editor that can convert "gibberish" like
" ݾ" to it's original form in Korean as "??? ???" (I
understand that if you don't have the Korean language pack installed
you won't be able to see the original form, sorry). I am not very
familiar with string encoding but I have tried to read some articles
(a lot went over my head) and forum posts on similar subjects but
nothing really addresses the problem or really helps me to solve the
issue. Any examples, or if someone could lead me in the right
direction would be extremely helpful. Thank you.

Joe
Thank you LM.

Jun 24 '07 #4

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

Similar topics

7
2492
by: Jos van Uden | last post by:
Can somebody explain why the following file has the wrong output: <?xml version="1.0" encoding="iso-8859-1"?> <test> <elem>‘bla bla bla’</elem> </test> Expected: bla bla bla output: ?bla bla bla?
8
3488
by: Agnes | last post by:
In my .net ,i need to generate an xml file , however, user may input a chinese character, Then , the xml will got something unknow characters. the following is my code, Does anyone know how to solve it ?? Private Sub Init() With AMSXML ..Formatting = Formatting.Indented ..Indentation = 4 ..IndentChar = " " ..WriteStartDocument()
5
2419
by: vtreddy | last post by:
Hi All: In my application I am sending the input values through query string from a datagrid template column,I used URLEncode to encode the URL String, please find the input below, I am facing a problem when the input string contains character , Here from ASP.NET I am redirecting to the ASP based system,when I give same input from ASP based system, it is showing Microsoft%AE%20Access%20 ,with this I am getting the correct results, where as...
4
6916
by: Cott Lang | last post by:
ERROR: could not convert UTF-8 character 0x00ef to ISO8859-1 Running 7.4.5, I frequently get this error, and ONLY on this particular character despite seeing quite a bit of 8 bit. I don't really follow why it can't be converted, it's the same character (239) in both character sets. Databases are in ISO8859-1, JDBC driver is defaulting to UTF-8. Am I flubbing something up? I'm probably going to (reluctantly) convert to UTF-8 in the...
16
4929
by: Dany | last post by:
Our web service was working fine until we installed .net Framework 1.1 service pack 1. Uninstalling SP1 is not an option because our largest customer says service packs marked as "critical" by Microsoft must be installed on their servers. Now german Umlaute (, , ) and quotes are returned incorrectly in SOAP fault responses. This can be easily verified: Implement the following in a web service method (just raises a SOAPException with a...
2
7151
by: almurph | last post by:
Hi everyone, Can you help me please? I am having a problem with the encryption/decryption of words with the Irish fada in them. The Irish fada is like this: /. It's kind of like the French grave... Anyway when I run encryption on a plaintext word like:
4
3322
by: Petr Jakes | last post by:
Hi, I am using Python 2.4.3 on Fedora Core4 and "Eric3" Python IDE .. Below mentioned code works fine in the Eric3 environment. While trying to start it from the command line, it returns: Traceback (most recent call last): File "pokus_1.py", line 5, in ? print str(a) UnicodeEncodeError: 'ascii' codec can't encode character u'\xc1' in
17
10709
by: =?Utf-8?B?R2Vvcmdl?= | last post by:
Hello everyone, Wide character and multi-byte character are two popular encoding schemes on Windows. And wide character is using unicode encoding scheme. But each time I feel confused when talking with another team -- codepage -- at the same time. I am more confused when I saw sometimes we need codepage parameter for wide character conversion, and sometimes we do not need for conversion. Here are two examples,
1
4256
by: PHP Wooer | last post by:
Can anybody there please help me out? I am having a problem with the display of Japanese character in the subject line of the mails sent in Japanese language. This problem is particularly with Hotmail Live and Yahoo Beta mails for rest all like Gmail, Hotmail original and Yahoo original its working fine. It may be some character encoding problem, but is there any way that I can get rid of this issue.
10
3354
by: hsmit.home | last post by:
Hi everyone, I'm having some difficulty with the following piece of code. I have stripped it to it's bare minimum to demonstrate the problem at hand. Compiler: MS Visual C++ 2005 Express Edition (similar problem arises with 2008) Runtime Library: All multi-threaded variants have been seen to fail |
0
9591
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, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
9425
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,...
0
10228
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10057
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...
0
8883
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 projectplanning, coding, testing, and deploymentwithout 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...
0
5312
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
5449
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3970
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
3
2816
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.