acipinarli Posted February 3, 2011 Share Posted February 3, 2011 (edited) Dreamweaver ile asp sayfası yapıyorum ama türkçe karakter sorunu yaşıyorum nasıl düzelteceğim. Sayfanın ayarlarından Türkçe olarak ayarladım tüm herşeyi. Explorerda Türkçe kodlamada ayarlı. Soun aşağıdaki gibi [url=http://img34.imagevenue.com/img.php?image=43437_1_122_432lo.jpg][img=http://img34.imagevenue.com/loc432/th_43437_1_122_432lo.jpg][/url] Mesajı gönder deyince türkçe karakterler aşağıdaki gibi oluyor [url=http://img248.imagevenue.com/img.php?image=43438_2_122_180lo.jpg][img=http://img248.imagevenue.com/loc180/th_43438_2_122_180lo.jpg][/url] Edited February 3, 2011 by acipinarli Quote Link to comment Share on other sites More sharing options...
galetis Posted February 3, 2011 Share Posted February 3, 2011 Yettim hocam hocam sayfanın kodlarını alabilirmiyim ? Quote Link to comment Share on other sites More sharing options...
acipinarli Posted February 3, 2011 Author Share Posted February 3, 2011 (edited) [codebox]<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="iso-8859-9" %> <script runat="server"> sub islem (sender as object, e as eventargs) if mesaj.text = "" then sonuc.text = "Adınızı Girmediniz" end if if mesaj.text <> "" then sonuc.text ="merhaba " + mesaj.text end if end sub </script> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9" /> <title>Untitled Document</title> </head> <body> <form runat="server"> <asp:TextBox ID="mesaj" runat="server" /> <asp:Button ID="Button1" runat="server" Text="Mesajı Gönder" OnClick="islem" /> <asp:Label ID="sonuc" runat="server" /> </form> </body> </html> [/codebox][quote name='galetis' date='03 Şubat 2011 - 15:48 ' timestamp='1296748681' post='956978'] Yettim hocam hocam sayfanın kodlarını alabilirmiyim ? [/quote] valla visual studioyu özledim ben. sayfada türkçe karakterlerde sorun yok sadece metin kutusundan alınca sorun çıkıyor. Edited February 3, 2011 by acipinarli Quote Link to comment Share on other sites More sharing options...
galetis Posted February 3, 2011 Share Posted February 3, 2011 [code] <%@ Page Language="VB" ContentType="text/html" ResponseEncoding="utf-8" %> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> [/code] Hocam header kısmının iso-8859-9 kodlama dilini utf-8 olarak değiştirebilirmisiniz ? Quote Link to comment Share on other sites More sharing options...
acipinarli Posted February 3, 2011 Author Share Posted February 3, 2011 [quote name='galetis' date='03 Şubat 2011 - 16:58 ' timestamp='1296752918' post='957007'] [code] <%@ Page Language="VB" ContentType="text/html" ResponseEncoding="utf-8" %> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> [/code] Hocam header kısmının iso-8859-9 kodlama dilini utf-8 olarak değiştirebilirmisiniz ? [/quote] tamam oldu demek ki aspnin kodlaması farklı olacakmış. sağolasın. Quote Link to comment Share on other sites More sharing options...
galetis Posted February 3, 2011 Share Posted February 3, 2011 önemli değil hocam Quote Link to comment Share on other sites More sharing options...
pcmemo Posted February 3, 2011 Share Posted February 3, 2011 iso-8859-9 bu kod asp.net dede aynı türkçe karakter sorunu verir. utf-8 kullanmanız gerekir Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.