Turkish Character problem ( Streamwriter )

Hi everyone..I want to write '?' , '?' , 'ü' and '?' characters to a .rtf file.and I want to use StreamWriter for writing and StreamReader for reading..But when i use StreamWriter and send one of the Turkish character, in the .rtf file there becomes a character like "??".. what must i do_? and i think i must use "iso 8859-9" encoding..

[633 byte] By [Sqnyy] at [2007-12-25]
# 1
ok i solve the problem..
new StreamWriter(@"c:\windows\soner.rtf",true,Encoding.Unicode)
solved it..
Sqnyy at 2007-9-3 > top of Msdn Tech,Visual C#,Visual C# Language...
# 2
dear can you tell me how can i recognize if i want to use the character "i" of turkish language in c++. You know i am not able to differential between its small and block character. It is same in shape but litle bit different in size. can you suggess me any solution of it....
xishanshigri at 2007-9-3 > top of Msdn Tech,Visual C#,Visual C# Language...
# 3
hi.. you can find byte code of the Turkish letter "i" at this page http://www.microsoft.com/globaldev/reference/sbcs/1254.mspx
then you can use FileStream's Write function..

FileStream fsTarget = new FileStream (target,FileMode.CreateNew,FileAccess.Write);
fsTarget.WriteByte(305); // 305 is the byte code of Turkish "i"

hope it works..

Sqnyy at 2007-9-3 > top of Msdn Tech,Visual C#,Visual C# Language...
# 4
now further i have an extention of this problem and that is i am querying SQL server and Oracle but whenever turkish "i" comes in between any word the query gives an incorrect result. In this senorio what can i do?
xishanshigri at 2007-9-3 > top of Msdn Tech,Visual C#,Visual C# Language...