sachin dimbre

sachin dimbre

  • NA
  • 15
  • 18.9k

working with unicode/multibyte character

Apr 28 2012 10:22 AM
Hello,

I am completely new to c# and sorry if asking a dumb question.

I wish to work with Unicode/property files in visual studio. These files contains multibyte(chinese and japanese), unicode and special(french) character. Presently as I don't know this with visual studio and c# I am creating files like 'filename.properties.utf8' with encoding as UTF-8 with edit plus editor and adding these files in my visual studio project. So I have following questions?

- Is there any better way to do this?
- With above explained I can work with french but facing problem with multibyte character file like japanese and chinese.
  ex. File.ReadAllLines(filename).Count() this returns line count in french but not in japanese, its not able to read multibyte japanese file.

Thanks in advance...
Sachin

Answers (1)