#1569: Load fixtures in non utf-8 charset
-----------------------------------+----------------------------------------
Reporter: avorobiev | Owner: jwage
Type: defect | Status: new
Priority: major | Milestone: Unknown
Component: Import/Export | Version: 1.0.3
Keywords: | Has_test: 0
Mystatus: Pending Core Response | Has_patch: 1
-----------------------------------+----------------------------------------
In the symfony 1.1 framework, if the fixture data has been written in the
non utf-8 charset, then cli command
{{{
php symfony doctrine:data-load appname
}}}
generates
{{{
PHP Notice: iconv(): Detected an illegal character in input string in
[project_path]\plugins\sfDoctrinePlugin\lib\doctrine\Doctrine\Parser.php
on line 129
}}}
and data doesn’t be loaded in the database.
Fixtures must be saved in the application charset. That is why I decide to
delete iconv("UTF-8", "UTF-8") command, and for me everything works fine.
Patch is attached.
--
Ticket URL: <http://trac.doctrine-project.org/ticket/1569>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"doctrine-svn" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---