Bug #27286

FLUID: #1: Warning: htmlspecialchars(): Invalid multibyte sequence in argument

Added by Fernando Arconada almost 11 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
ViewHelpers
Target version:
-
Start date:
2011-06-07
Due date:
% Done:

0%

Estimated time:
Has patch:
No

Description

I have an exception just trying to retrieve objects from DB and displaying in a view
$apuntes = $this->apunteRepository->findAll();
$this->view->assign('apuntes',$apuntes);

Attached an export from my DB and MySQL variables

Note: this tables and data were not created by Doctrine. I have imported them from a mysqldump export from other DB.


Uncaught Exception in FLOW3
#1: Warning: htmlspecialchars(): Invalid multibyte sequence in argument in /var/www/html/FLOW3/Data/Temporary/Development/Cache/Code/FLOW3_Object_Classes/F3_Fluid_ViewHelpers_EscapeViewHelper_Original.php line 79 (More information)

F3\FLOW3\Error\Exception thrown in file
Packages/Framework/FLOW3/Classes/Error/ErrorHandler.php in line 82.

Go to the FORGE issue tracker and report the issue - if you think it is a bug!

51 F3\FLOW3\Error\ErrorHandler::handleError(2, "htmlspecialchars(): Invalid multibyte sequence in argument", "/var/www/html/FLOW3/Data/Temporary/Development/Cac…F3_Fluid_ViewHelpers_EscapeViewHelper_Original.php", 79, array)

50 htmlspecialchars("Santo�a/Laredo 18/8/06", 2, "UTF-8")

/var/www/html/FLOW3/Data/Temporary/Development/Cache/Code/FLOW3_Object_Classes/F3_Fluid_ViewHelpers_EscapeViewHelper_Original.php:

00077: switch ($type) {
00078: case 'html':

00079: return htmlspecialchars($value, ENT_COMPAT, $encoding);

00080: break;
00081: case 'entities':


Files

db.sql (2.36 KB) db.sql Fernando Arconada, 2011-06-07 23:12
variables.txt (7.87 KB) variables.txt Fernando Arconada, 2011-06-07 23:12

Also available in: Atom PDF