I have filenames that I am reading into a list box, some of the file names contain international characters ie:
Code:
Röyksopp - Melody A M - 01 - So Easy.mp3
I then want to write these files to a text file but they are coming out as:
Code:
Röyksopp - Melody A M - 01 - So Easy.mp3
I use:
Code:
sr.WriteLine(lstMP3.Items[x].ToString());
where sr is a StreamWriter object.
I've looked through the help and the beginning c# and pro c# books but have gotten rather confused.
I think I have to pass IFormattable or something to the ToString but not sure how.