Jump to content

Asp Türkçe Karakter Sorunu


Recommended Posts

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 by acipinarli
Link to comment
Share on other sites

[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 :lol: 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 by acipinarli
Link to comment
Share on other sites

[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 ?

Link to comment
Share on other sites

[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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...