Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. LocalStorage in QTWeb show strange characters
Forum Updated to NodeBB v4.3 + New Features

LocalStorage in QTWeb show strange characters

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 566 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    grouser
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved