First I would thank you all for the replies at my previous post. Say sorry
for my poor english also. I have found where my problem came from. I am
writing a string to a text box and write the content of that textbox to a
file. All is just fine until I try to pass this character to the textbox:
exemple:
------
TextBox1.AppendText(Chr(167) )
-------
or
-------
TextBox1.AppendText("§")
-------
that is the same thing. Then I have this code in the click button event (the
save button):
-------
Try
Dim file_name As String
SaveFileDialog1.Filter = "text files (*.txt)|*.txt|all files (*.*)|*.*"
If SaveFileDialog1.ShowDialog() = DialogResult.OK Then
file_name = SaveFileDialog1.FileName
Dim file As System.IO.FileStream
file = System.IO.File.Create(file_name)
file.Close()
Dim fw As New StreamWriter(file_name)
fw.Write(TextBox1.Text)
fw.Close()
End If
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try
------------
My text file is generated without problems, if I try to open it with notepad
just display my character "§"
But if I open this file with wordpad it show "§". When I try to read this
files from another applications I get this unwanted  character. I don't
know how to pass this "§" in the right way for display only the §.
Thanks.