Hi,
we have an encoding problem in a autocompletenbox. As you can see on the attached file all "ä", "ü", "ö", "ß", are something like
a "?". We bind a txt-file to the autocompletebox.
How can we solve this problem?
Thanks a lot
Best Regrads from Austria
Rene
we have an encoding problem in a autocompletenbox. As you can see on the attached file all "ä", "ü", "ö", "ß", are something like
a "?". We bind a txt-file to the autocompletebox.
using (StreamReader reader = new StreamReader(file, System.Text.Encoding.UTF8)){ string line; Int32 i = 0; while ((line = reader.ReadLine()) != null) { i++; string[] tmp = line.Split(';'); vartab.Add(new Vartab(tmp[1], tmp[0], i)); }}How can we solve this problem?
Thanks a lot
Best Regrads from Austria
Rene