Re: Changing garbled text ("???? ??????") to readable text ("?? ???")
- From: JC <joechu@xxxxxxxxx>
- Date: Wed, 27 Jun 2007 07:14:37 -0000
Your code is currently converting from one *string* to another. You
should be converting from your original file's *binary* data into a
string using an encoding. It sounds like you still haven't got the
right encoding.
I understand I need the binary data now, but then my question is, how
do I get the binary data of a filename? I have been using FileInfo to
access information about the files, is there another class I should be
using to retrieve the binary data. Ha I'm sure it's a simple solution
but I can't seem to wrap my head around it .And for the most part
I'll be dealing with ID3 tags and the data returned from the ID3 tag
methods are all strings.
Thanks for the link, I've been to that site a couple times and skimmed
through it/bookmarked it and tried to make as much sense of it as
possible but overall it was very enlightening.
.
- Follow-Ups:
- Re: Changing garbled text ("???? ??????") to readable text ("?? ???")
- From: Jon Skeet [C# MVP]
- Re: Changing garbled text ("???? ??????") to readable text ("?? ???")
- References:
- Changing garbled text ("¾î´À ¸ÚÁø³¯") to readable text ("어느 멋진날")
- From: JC
- Re: Changing garbled text ("???? ??????") to readable text ("?? ???")
- From: Jon Skeet [C# MVP]
- Changing garbled text ("¾î´À ¸ÚÁø³¯") to readable text ("어느 멋진날")
- Prev by Date: Re: Show a .doc, .pdf or .txt
- Next by Date: RE: Problem with clickonce
- Previous by thread: Re: Changing garbled text ("???? ??????") to readable text ("?? ???")
- Next by thread: Re: Changing garbled text ("???? ??????") to readable text ("?? ???")
- Index(es):
Relevant Pages
|