Click here to Skip to main content
15,887,683 members
Home / Discussions / C#
   

C#

 
GeneralRe: Window size to fit the screen resolution Pin
Pete O'Hanlon9-Sep-08 0:37
mvePete O'Hanlon9-Sep-08 0:37 
QuestionPassing a database connection to a web service Pin
Chazzysb8-Sep-08 23:03
Chazzysb8-Sep-08 23:03 
AnswerRe: Passing a database connection to a web service Pin
Pete O'Hanlon8-Sep-08 23:18
mvePete O'Hanlon8-Sep-08 23:18 
AnswerRe: Passing a database connection to a web service Pin
MorganSim9-Sep-08 1:05
MorganSim9-Sep-08 1:05 
QuestionCall function from thread Pin
baerten8-Sep-08 22:55
baerten8-Sep-08 22:55 
AnswerRe: Call function from thread Pin
vikas amin9-Sep-08 8:20
vikas amin9-Sep-08 8:20 
GeneralRe: Call function from thread Pin
baerten9-Sep-08 21:40
baerten9-Sep-08 21:40 
QuestionHow can I convert garbled filenames (Chinese) to the correct codepage? Pin
alien058-Sep-08 22:39
alien058-Sep-08 22:39 
On disk sometimes I have filenames that show up like ûÓÐÈË¿ÉÒÔ½ÐÄ㱦±´. However it should really be this: 没有人可以叫你宝贝. (Others are displayed correctly, so it is not a problem of the system).
I can copy the garbaged filename to a text file, open it in a browser, change the codepage to gb2312 for display in the browser, copy the displayed Chinese characters and rename the file. (I currently do not see through what the browser does)
This is not applicable for more than a few files.
So I want to automate it.

(I have a european Windows XP environment, should be the same with English)

Is there any tool, that does it? Or how can I do what the browser can do by C# coding? (the encoding part is sufficient).

Tried the encoding class but did not get any usable result. Please help. Thanks.
AnswerRe: How can I convert garbled filenames (Chinese) to the correct codepage? Pin
Frank Horn8-Sep-08 23:01
Frank Horn8-Sep-08 23:01 
GeneralRe: How can I convert garbled filenames (Chinese) to the correct codepage? Pin
alien058-Sep-08 23:08
alien058-Sep-08 23:08 
GeneralRe: How can I convert garbled filenames (Chinese) to the correct codepage? Pin
Frank Horn8-Sep-08 23:24
Frank Horn8-Sep-08 23:24 
GeneralRe: How can I convert garbled filenames (Chinese) to the correct codepage? Pin
alien058-Sep-08 23:32
alien058-Sep-08 23:32 
QuestionCrystal Report how to? Pin
TheCardinal8-Sep-08 21:01
TheCardinal8-Sep-08 21:01 
AnswerRe: Crystal Report how to? Pin
Wendelius9-Sep-08 7:39
mentorWendelius9-Sep-08 7:39 
GeneralRe: Crystal Report how to? Pin
TheCardinal9-Sep-08 17:22
TheCardinal9-Sep-08 17:22 
QuestionPrinting Issue in C# Pin
CoolCoder_New8-Sep-08 20:01
CoolCoder_New8-Sep-08 20:01 
QuestionNon PNP device Pin
vinay_K8-Sep-08 19:53
vinay_K8-Sep-08 19:53 
AnswerRe: Non PNP device Pin
leppie8-Sep-08 23:21
leppie8-Sep-08 23:21 
GeneralRe: Non PNP device Pin
vinay_K9-Sep-08 1:12
vinay_K9-Sep-08 1:12 
Questionhow to make a font ? Pin
Wan--Vevi8-Sep-08 17:04
Wan--Vevi8-Sep-08 17:04 
AnswerRe: how to make a font ? Pin
Wan--Vevi8-Sep-08 17:24
Wan--Vevi8-Sep-08 17:24 
GeneralRe: how to make a font ? Pin
Paul Conrad8-Sep-08 18:28
professionalPaul Conrad8-Sep-08 18:28 
GeneralRe: how to make a font ? Pin
Perspx9-Sep-08 10:43
Perspx9-Sep-08 10:43 
GeneralRe: how to make a font ? Pin
Paul Conrad9-Sep-08 11:38
professionalPaul Conrad9-Sep-08 11:38 
AnswerRe: how to make a font ? Pin
Abhijit Jana8-Sep-08 19:41
professionalAbhijit Jana8-Sep-08 19:41 

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.