Bug #27286
FLUID: #1: Warning: htmlspecialchars(): Invalid multibyte sequence in argument
Status: | Closed | Start date: | 2011-06-07 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | - | % Done: | 0% |
|
Category: | ViewHelpers | |||
Target version: | - | |||
Has patch: | No | Affected Flow version: | FLOW3 1.0.0 |
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':
History
#1 Updated by Karsten Dambekalns about 4 years ago
- Status changed from New to Needs Feedback
The data you imported, is that in UTF-8 as well? This is usually caused by an encoding mismatch...
#2 Updated by Karsten Dambekalns about 4 years ago
- Project changed from TYPO3.Flow to TYPO3.Fluid
#3 Updated by Karsten Dambekalns about 4 years ago
- Category set to ViewHelpers
- Has patch set to No
#4 Updated by Karsten Dambekalns almost 4 years ago
- Affected Flow version set to FLOW3 1.0.0
#5 Updated by Christian Müller over 3 years ago
Fernando did you check if this was an encoding issue with your data?
#6 Updated by Fernando Arconada over 3 years ago
close it, is quite old and now all seems to work right
#7 Updated by Bastian Waidelich over 3 years ago
- Status changed from Needs Feedback to Closed