G
Guest
I want to create a text file with a pound (£) character in it, when i use
StreamWriter class with ASCII (System.Text.Encoding.ASCII) or ANSI
(System.Text.Encoding.Default) encoding the £ (pound) character is either
getting displayed as a ? or as some special character.
It works fine if i use Unicode (System.Text.Encoding.Unicode) encoding, but
i would like my file to be in ANSI format rather than in Unicode format.
Is there any way i can write a £ (pound) character with ANSI
(System.Text.Encoding.Default) encoding? My regional settings are configured
to UK (English).
Any help on this would be greatly appreciated.
StreamWriter class with ASCII (System.Text.Encoding.ASCII) or ANSI
(System.Text.Encoding.Default) encoding the £ (pound) character is either
getting displayed as a ? or as some special character.
It works fine if i use Unicode (System.Text.Encoding.Unicode) encoding, but
i would like my file to be in ANSI format rather than in Unicode format.
Is there any way i can write a £ (pound) character with ANSI
(System.Text.Encoding.Default) encoding? My regional settings are configured
to UK (English).
Any help on this would be greatly appreciated.