LocalStorage in QTWeb show strange characters



  • Hello !

    I am using QT as a Client, so I have a server with many web pages which are showed inside a QtWeb on the Client. The problem is that I need to set some information to be used in the website from the Client, so for this, I am using LocalStorage. I set some values in the local storage files and then I load the folder path using the method SetLocalStoragePath().

    When I try to print this values in the website I get strange characters but if I try to print a key that I know that doesn't exist, I get null, so it is reading the file but the codification is wrong I guess.

    Have anyone had trouble with that?

    Thank you very much. Sorry If I didn't explain well.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.