The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
html encoding or charset?
#1
Friends, firstly thank you for offering the userspice to the world.

I have a little problem
When you save a text from a form the characters are saved in the encrypted form.

Example:
I write: João Carrão
He writes: Jo&atilde';o Carr&atilde';o (except the symbol ')

DB Collation = utf8_general_ci
Users Table = Innodb + utf8_general_ci

Any suggestions for what might be happening?
  Reply
#2
Jo&atilde';o Carr&atilde';o
  Reply
#3
That is to prevent SQL injection attacks on the database where users upload javascript and things like that to the database.

What happens if you echo that text back out? It should come out properly, right?
  Reply
#4
Hi Mudmin!
I got the reason.
Yes, content recovery happens correctly.

Thank you for your help
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)