News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Encoding problem

Started by nordmograph, December 31, 2012, 10:38:28 AM

Previous topic - Next topic

nordmograph

Hello
I'm currently building a shop in Japanese
Products name show correclt almosr everywhere except when rolling over category's product thumbs (picture title tooltip)
and when adding a product to the cart:

������������ was added to your cart

bytelord

Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

nordmograph

Yes , at least for the cart, it worked.
But remember this has to be applyed to the category view product thumbnails title tooltip too.

Thanks!

Milbo

give us a patch, or write here exactly what we should replace.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

nordmograph

Actually the fix described in
http://forum.virtuemart.net/index.php?topic=111359.msg374103#msg374103
only works for the cart.

When it comes to frontpage and category views, tooltips show squares on Japanese characters so it's a different encoding issue, and only tooltip related.
in virtuemart/templ/default_categories.php for eg.

echo $category->category_name
works fine
when
title="<?php echo $category->category_name  ?>"
in a A  tag shows squares on product title and category thumb rollovers.

I have no fix yet.

bytelord

Hello,

In version 2.0.14 this was working (image title)?  I am thinking that is not related to vm2, the title should work fine ... works for me in 2.0.16. Do you use any 3rd party fonts? Do you have any custom template joomla or vm that uses javascript for the tooltips?
Any screenshot? Joomla Version? Database encoding?

Regards

Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

nordmograph

Well I could verify this with default beez or atomic
with default vm2.0.16 views on j2.5.8

No 3rd party fonts, DB encoding is utf8_general_ci
This is on a Wamp setup.

Also if I add a french accent in the japanese name (as é) :
アイボリーのコートフックé
only the é shows ok.


[attachment cleanup by admin]