I am using Joomla 4.0.4 and RO CSVI 8.0. I am having trouble exporting unicode characters (greek). My headers are ok but the content is ????????
The tables are utf8mb4_unicode_ci, the @@character_set_database is utf8 and the @@collation_database is utf8_genereal_ci
I try to open it with notepad++ or simple notepad but the problem persists.
Any suugestions?
- dimis308
- RO CSVI
- Wednesday, 15 December 2021
- Subscribe via email
0
Accepted Answer
Accepted Answer
Pending Moderation
No, its not that. I tried debugging and sent an email to myself with the $contents before the writeOutput function athe email came with ???
So I went to the file:
administrator/components/com_csvi/models/exports.php and changed:
$this->pdo = Connection::new(
'mysql:host=' . $config->get('host') . ';dbname=' . $config->get('db'),
$config->get('user'),
$config->get('password')
);
to
$this->pdo = Connection::new(
'mysql:host=' . $config->get('host') . ';charset=utf8;dbname=' . $config->get('db'),
$config->get('user'),
$config->get('password')
);
and it works.
So you must take it into consideration somehow.
Thanks
So I went to the file:
administrator/components/com_csvi/models/exports.php and changed:
$this->pdo = Connection::new(
'mysql:host=' . $config->get('host') . ';dbname=' . $config->get('db'),
$config->get('user'),
$config->get('password')
);
to
$this->pdo = Connection::new(
'mysql:host=' . $config->get('host') . ';charset=utf8;dbname=' . $config->get('db'),
$config->get('user'),
$config->get('password')
);
and it works.
So you must take it into consideration somehow.
Thanks
- more than a month ago
- RO CSVI
- # Permalink
Accepted Answer
Pending Moderation
Hello,
The problem with unicode characters must be because of the program you are using to open the export file. Try opening your export file with OpenOffice/LibreOffice and see if that makes a difference.
The problem with unicode characters must be because of the program you are using to open the export file. Try opening your export file with OpenOffice/LibreOffice and see if that makes a difference.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Hello,
Thank you for posting the solution. Can you tell us the MySQL version you are running? To get that, on Joomla System menu >> System information >> System information tab check Database Version. Post the version here to check
Thank you for posting the solution. Can you tell us the MySQL version you are running? To get that, on Joomla System menu >> System information >> System information tab check Database Version. Post the version here to check
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Hello,
Thank you for your feedback. We will include the charset fix in the upcoming release. The charset will be set to utf8mb4 as this is the same one Joomla uses.
Thank you for your feedback. We will include the charset fix in the upcoming release. The charset will be set to utf8mb4 as this is the same one Joomla uses.
Kind regards,
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Hello Thomas,
This fix has been released with RO CSVI 8.1.0 version. If you are not using this version, please update to latest RO CSVI 8.8.0 version and check.
This fix has been released with RO CSVI 8.1.0 version. If you are not using this version, please update to latest RO CSVI 8.8.0 version and check.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »