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

C#

 
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 
GeneralRe: ColorDialog Question Pin
QzRz18-Oct-05 6:48
QzRz18-Oct-05 6:48 
GeneralRe: ColorDialog Question Pin
miah alom18-Oct-05 6:57
miah alom18-Oct-05 6:57 
GeneralRe: ColorDialog Question Pin
QzRz18-Oct-05 7:07
QzRz18-Oct-05 7:07 
QuestionNamespace System.Configuration for .net 2.0 Pin
akyriako7818-Oct-05 5:14
akyriako7818-Oct-05 5:14 
QuestionMouse Events Pin
ShimiG18-Oct-05 5:04
ShimiG18-Oct-05 5:04 
AnswerRe: Mouse Events Pin
Robert Rohde18-Oct-05 5:46
Robert Rohde18-Oct-05 5:46 
GeneralRe: Mouse Events Pin
ShimiG18-Oct-05 5:53
ShimiG18-Oct-05 5:53 
GeneralRe: Mouse Events Pin
Stefan Troschuetz18-Oct-05 6:33
Stefan Troschuetz18-Oct-05 6:33 
AnswerRe: Mouse Events Pin
Stefan Troschuetz18-Oct-05 5:59
Stefan Troschuetz18-Oct-05 5:59 
Questionsimple string operation Pin
hasanali0018-Oct-05 4:56
hasanali0018-Oct-05 4:56 
AnswerRe: simple string operation Pin
Wjousts18-Oct-05 6:35
Wjousts18-Oct-05 6:35 
AnswerRe: simple string operation Pin
leppie18-Oct-05 11:38
leppie18-Oct-05 11:38 
GeneralRe: simple string operation Pin
hasanali0020-Oct-05 2:58
hasanali0020-Oct-05 2:58 

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.