Click here to Skip to main content
12,349,911 members (22,964 online)
   

C#

 
GeneralRe: problems with my C# application Pin
Eddy Vluggen6-Mar-09 7:04
memberEddy Vluggen6-Mar-09 7:04 
GeneralRe: problems with my C# application Pin
jaypatel5128-Mar-09 4:46
memberjaypatel5128-Mar-09 4:46 
QuestionCreating new object in another thread, then BeginInvoke that object? Pin
Anticast6-Mar-09 4:13
memberAnticast6-Mar-09 4:13 
AnswerRe: Creating new object in another thread, then BeginInvoke that object? Pin
Curtis Schlak.6-Mar-09 4:20
memberCurtis Schlak.6-Mar-09 4:20 
GeneralRe: Creating new object in another thread, then BeginInvoke that object? Pin
Anticast6-Mar-09 5:55
memberAnticast6-Mar-09 5:55 
GeneralRe: Creating new object in another thread, then BeginInvoke that object? Pin
Curtis Schlak.6-Mar-09 6:59
memberCurtis Schlak.6-Mar-09 6:59 
GeneralRe: Creating new object in another thread, then BeginInvoke that object? Pin
Curtis Schlak.6-Mar-09 7:40
memberCurtis Schlak.6-Mar-09 7:40 
GeneralRe: Creating new object in another thread, then BeginInvoke that object? Pin
Dave Kreskowiak6-Mar-09 7:15
mvpDave Kreskowiak6-Mar-09 7:15 
GeneralRe: Creating new object in another thread, then BeginInvoke that object? Pin
dan neely6-Mar-09 8:35
memberdan neely6-Mar-09 8:35 
QuestionWeb Services and Files Pin
Member 38454996-Mar-09 3:49
memberMember 38454996-Mar-09 3:49 
AnswerRe: Web Services and Files Pin
Curtis Schlak.6-Mar-09 4:08
memberCurtis Schlak.6-Mar-09 4:08 
QuestionUTF-8 Not Displaying Unicode Pin
Tim Beck6-Mar-09 3:21
memberTim Beck6-Mar-09 3:21 
AnswerRe: UTF-8 Not Displaying Unicode Pin
Curtis Schlak.6-Mar-09 4:05
memberCurtis Schlak.6-Mar-09 4:05 
AnswerRe: UTF-8 Not Displaying Unicode Pin
Guffa6-Mar-09 6:26
mvpGuffa6-Mar-09 6:26 
I tried it, and with your file containing correctly UTF-8 encoded text it works without problems. I think that the text in the file isn't actually encoded as UTF-8, or that you have decoded UTF-8 as ANSI and then encoded the corrupted string as UTF-8.

Tim Beck wrote:
I've tried:

UTF8Encoding utf8 = new UTF8Encoding();
Byte[] encodedBytes = utf8.GetBytes(o.Content);
o.Content = utf8.GetString(encodedBytes);

but that makes no difference.


Of course it doesn't. You are just encoding the string to UTF-8 and then decoding it again. That doesn't change how it's decoded when you read it from the file.

Despite everything, the person most likely to be fooling you next is yourself.

Questionabout array and property Pin
clj198705036-Mar-09 2:59
memberclj198705036-Mar-09 2:59 
AnswerRe: about array and property Pin
musefan6-Mar-09 3:15
membermusefan6-Mar-09 3:15 
AnswerRe: about array and property Pin
Xmen 6-Mar-09 3:24
member Xmen 6-Mar-09 3:24 
AnswerRe: about array and property Pin
clj198705036-Mar-09 3:58
memberclj198705036-Mar-09 3:58 
GeneralRe: about array and property Pin
musefan6-Mar-09 4:11
membermusefan6-Mar-09 4:11 
GeneralRe: about array and property Pin
Curtis Schlak.6-Mar-09 4:15
memberCurtis Schlak.6-Mar-09 4:15 
GeneralRe: about array and property Pin
Cybernate6-Mar-09 8:55
memberCybernate6-Mar-09 8:55 
AnswerRe: about array and property Pin
Curtis Schlak.6-Mar-09 9:35
memberCurtis Schlak.6-Mar-09 9:35 
GeneralRe: about array and property Pin
Cybernate6-Mar-09 9:38
memberCybernate6-Mar-09 9:38 
GeneralRe: about array and property Pin
Curtis Schlak.6-Mar-09 9:42
memberCurtis Schlak.6-Mar-09 9:42 
QuestionDisabling Crystal login Pin
twsted f86-Mar-09 2:56
membertwsted f86-Mar-09 2:56 
AnswerRe: Disabling Crystal login Pin
ABitSmart6-Mar-09 3:27
memberABitSmart6-Mar-09 3:27 
AnswerRe: Disabling Crystal login Pin
monstale6-Mar-09 5:08
membermonstale6-Mar-09 5:08 
QuestionFull Screen Application Pin
stancrm6-Mar-09 2:56
memberstancrm6-Mar-09 2:56 
AnswerRe: Full Screen Application Pin
musefan6-Mar-09 3:13
membermusefan6-Mar-09 3:13 
AnswerRe: Full Screen Application Pin
Xmen 6-Mar-09 3:21
member Xmen 6-Mar-09 3:21 
QuestionScrollBar makes XNA Freeze [modified] Pin
invader826-Mar-09 1:36
memberinvader826-Mar-09 1:36 
AnswerRe: ScrollBar makes XNA Freeze Pin
Xmen 6-Mar-09 2:54
member Xmen 6-Mar-09 2:54 
GeneralRe: ScrollBar makes XNA Freeze Pin
invader826-Mar-09 3:10
memberinvader826-Mar-09 3:10 
GeneralRe: ScrollBar makes XNA Freeze Pin
Xmen 6-Mar-09 3:12
member Xmen 6-Mar-09 3:12 
GeneralRe: ScrollBar makes XNA Freeze Pin
invader826-Mar-09 3:25
memberinvader826-Mar-09 3:25 
GeneralRe: ScrollBar makes XNA Freeze Pin
Xmen 6-Mar-09 3:29
member Xmen 6-Mar-09 3:29 
GeneralRe: ScrollBar makes XNA Freeze Pin
invader826-Mar-09 3:38
memberinvader826-Mar-09 3:38 
GeneralRe: ScrollBar makes XNA Freeze Pin
invader826-Mar-09 3:44
memberinvader826-Mar-09 3:44 
GeneralRe: ScrollBar makes XNA Freeze Pin
invader826-Mar-09 4:36
memberinvader826-Mar-09 4:36 
GeneralRe: ScrollBar makes XNA Freeze Pin
garyhibb17-Jan-12 4:59
membergaryhibb17-Jan-12 4:59 
Questioncreating dynamic textbox Pin
muniratnam6-Mar-09 1:12
membermuniratnam6-Mar-09 1:12 
AnswerRe: creating dynamic textbox Pin
Deresen6-Mar-09 2:00
memberDeresen6-Mar-09 2:00 
GeneralRe: creating dynamic textbox Pin
muniratnam6-Mar-09 18:10
membermuniratnam6-Mar-09 18:10 
GeneralRe: creating dynamic textbox Pin
jaypatel5128-Mar-09 4:49
memberjaypatel5128-Mar-09 4:49 
QuestionCall method defined aspx.cs from Javascript? Pin
anish27patel6-Mar-09 0:53
memberanish27patel6-Mar-09 0:53 
AnswerRe: Call method defined aspx.cs from Javascript? Pin
Guffa6-Mar-09 1:20
mvpGuffa6-Mar-09 1:20 
QuestionListbox item text Pin
ypki6-Mar-09 0:37
memberypki6-Mar-09 0:37 
AnswerRe: Listbox item text Pin
DaveyM696-Mar-09 0:43
mvpDaveyM696-Mar-09 0:43 
GeneralRe: Listbox item text Pin
ypki6-Mar-09 1:01
memberypki6-Mar-09 1:01 
GeneralRe: Listbox item text Pin
DaveyM696-Mar-09 1:13
mvpDaveyM696-Mar-09 1:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.160621.1 | Last Updated 24 Jun 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid