Click here to Skip to main content
15,891,633 members
Home / Discussions / C#
   

C#

 
QuestionDrawImageUnscaled......why scaled? Pin
sduhd18-Oct-05 14:15
sduhd18-Oct-05 14:15 
AnswerRe: DrawImageUnscaled......why scaled? Pin
Christian Graus18-Oct-05 14:26
protectorChristian Graus18-Oct-05 14:26 
AnswerRe: DrawImageUnscaled......why scaled? Pin
Guffa18-Oct-05 14:33
Guffa18-Oct-05 14:33 
Questioncrypting a file Pin
Sasuko18-Oct-05 11:54
Sasuko18-Oct-05 11:54 
AnswerRe: crypting a file Pin
Christian Graus18-Oct-05 12:04
protectorChristian Graus18-Oct-05 12:04 
QuestionWindows explorer image thumbnails from custom file format Pin
siliconesoul18-Oct-05 10:56
siliconesoul18-Oct-05 10:56 
Questionmenus Pin
xilefxilef18-Oct-05 10:35
xilefxilef18-Oct-05 10:35 
Questionchange exist file name in c# - question Pin
Yanshof18-Oct-05 9:15
Yanshof18-Oct-05 9:15 
AnswerRe: change exist file name in c# - question Pin
Wjousts18-Oct-05 9:20
Wjousts18-Oct-05 9:20 
QuestionUpdate Controls While Enabling Others Pin
thepolishguy18-Oct-05 7:57
thepolishguy18-Oct-05 7:57 
AnswerRe: Update Controls While Enabling Others Pin
perlmunger18-Oct-05 10:17
perlmunger18-Oct-05 10:17 
Questionfile not found exception Pin
webhay18-Oct-05 6:50
webhay18-Oct-05 6:50 
AnswerRe: file not found exception Pin
KaptinKrunch18-Oct-05 7:34
KaptinKrunch18-Oct-05 7:34 
AnswerRe: file not found exception Pin
Tom Larsen18-Oct-05 7:56
Tom Larsen18-Oct-05 7:56 
Questionmenu items Pin
xilefxilef18-Oct-05 6:36
xilefxilef18-Oct-05 6:36 
AnswerRe: menu items Pin
miah alom18-Oct-05 6:44
miah alom18-Oct-05 6:44 
GeneralRe: menu items Pin
xilefxilef18-Oct-05 7:25
xilefxilef18-Oct-05 7:25 
AnswerRe: menu items Pin
shabonaa18-Oct-05 14:25
shabonaa18-Oct-05 14:25 
QuestionUTF-8 Encoding with File.CreateText Pin
perlmunger18-Oct-05 6:07
perlmunger18-Oct-05 6:07 
AnswerRe: UTF-8 Encoding with File.CreateText Pin
Daniel Grunwald18-Oct-05 6:19
Daniel Grunwald18-Oct-05 6:19 
GeneralRe: UTF-8 Encoding with File.CreateText Pin
perlmunger18-Oct-05 7:52
perlmunger18-Oct-05 7:52 
That's what I thought, but for some reason when I save out my file, it does not seem to be UTF-8 encoded. I know this because when you open a text file in notepad and then select File | Save As..., you will see in the "Encoding" combo box of the Save As dialog, the encoding of the current document. In this case it came up as ASCII. To test this, I saved the file out as the same file name using the UTF-8 encoding with notepad and then closed it and loaded it back into notepad again--once again selecting "Save As..." to see what the Encoding drop down defaults to. It came up as UTF-8 the second time.

Is it really writing it out as UTF-8? Any ides?

Thanks.

-Matt

------------------------------------------

The 3 great virtues of a programmer:
Laziness, Impatience, and Hubris.
--Larry Wall
GeneralRe: UTF-8 Encoding with File.CreateText Pin
Joe Woodbury18-Oct-05 8:10
professionalJoe Woodbury18-Oct-05 8:10 
GeneralRe: UTF-8 Encoding with File.CreateText Pin
perlmunger18-Oct-05 10:09
perlmunger18-Oct-05 10:09 
QuestionColorDialog Question Pin
QzRz18-Oct-05 5:45
QzRz18-Oct-05 5:45 
AnswerRe: ColorDialog Question Pin
miah alom18-Oct-05 6:42
miah alom18-Oct-05 6:42 

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.