1
Response.LCID = 1055  
Response.Codepage = 65001 
Response.Charset = "utf-8"
knm = "ışöçü"
    sss = "asd"
    enc = AESEncyptString(knm,sss)
    dec = AESDecyptString(enc,sss)

    response.write(dec)

    Results = ?????

I tried it with Base64.

   knm = Base64encode("ışöçü")
    sss = "asd"
    enc = AESEncyptString(knm,sss)
    dec = AESDecyptString(enc,sss)

    response.write(Base64decode(dec))

    Results = isocu

Turkish characters appear as "???". I tried it with Base64, but it didn't happen again.I'm trying to encrypt with Rijdnael AES. How can i solve this problem? (Sorry, I hope I told you right. My English is not very good. :))

tolga
  • 13
  • 4
  • Are your files actually saved with utf-8 encoding. See my answer to this question https://stackoverflow.com/questions/15438046/cant-show-greek-letters-in-browser/15439145#15439145 – John Dec 31 '17 at 17:01
  • VBScript doesn't natively support Unicode. You need to work around that using Streams. See questions like https://stackoverflow.com/questions/4125778/unicode-to-utf-8 – BoffinBrain Jan 02 '18 at 13:02

1 Answers1

0

In Visual Studio File-> Save as -> Save with encoding...(under Save button) -> Select UTF-8 or Turkish (Windows) - Codepage 1254

first

enter image description here

enter image description here

BurhanY
  • 81
  • 6