• 06-09-2010, 21:47:22
    #1
    Merhabalar;

    Sorunum yaptığım form dan get yöntemi ile gönderdiğim kelimeleri veritabanından sql like ile listelemek istiyorum gayet sorunsuz çalışıyor fakat bu harflerde "ç,ğ,ı,ö,ş,ü" listelemiyor.

    Yardımlarınızı bekliyorum.
  • 06-09-2010, 22:40:35
    #2
    Üyeliği durduruldu
    get ile gönderdiğin zaman tr karakterler ve boşluk ifadesi query karakterine döner. arama sayfanda query den veriyi alırken replace etmelisin.

    Alıntı
    <%
    Function Replaces(strFR)
    strFR = Replace(strFR, "%C5%9F", "ş")
    strFR = Replace(strFR, "%C4%B1", "ı")
    strFR = Replace(strFR, "%C4%9F", "ğ")
    strFR = Replace(strFR, "%C3%BC", "ü")
    strFR = Replace(strFR, "%C3%B6", "ö")
    strFR = Replace(strFR, "%C3%A7", "ç")
    strFR = Replace(strFR, "%C3%96", "Ö")
    strFR = Replace(strFR, "%C3%9C", "Ü")
    strFR = Replace(strFR, "%C4%9E", "Ğ")
    strFR = Replace(strFR, "%C4%B0", "İ")
    strFR = Replace(strFR, "%C5%9E", "Ş")
    strFR = Replace(strFR, "%C3%87", "Ç")
    strFR = Replace(strFR, "+", " ")
    Replaces = strFR
    END Function
    %>

    Replaces(Request.QueryString("ara"))