Group: Forum Members
Last Active: Thu 23 Jul 2020
Posts: 70,
Visits: 175
|
I upgraded a site from Cactushop to Kartris. Everything seems okay except the Hebrew displays as gibberish.
What appears to be the same set of chars displayed okay in Cactushop.
See aronkodesh.com (click Hebrew - it's fine)
and aronkodesh.com/kartris (click the Israeli flag - no good)
Is there code messing it up? IN Cactushop I remember I had to adjust the 'writestring' function, because it was messing up. Is there an equivalent function here?
|
Group: Administrators
Last Active: Tue 10 Sep 2024
Posts: 807,
Visits: 2,748
|
Kartris was developed from the start to support unicode. With CactuShop depending on the version it may have been encoded before going into the database. If you view the data inside the CactuShop db directly, does it look like Hebrew, or is it garbled there too?
-- If my post solves your issue, can you 'Mark as Answer' so it's easier for other users to find in future.
If you would like to be informed of new features, new releases, developments and occasional special bonuses, please sign up to our mailing list: http://bit.ly/19sKMZb
|
Group: Forum Members
Last Active: Thu 23 Jul 2020
Posts: 70,
Visits: 175
|
In the Kartris database, we have the same exact 'gibberish' as in Cactushop database. Would we need to convert it somehow to make it usable here? If yes, how?
|
Group: Forum Members
Last Active: Thu 23 Jul 2020
Posts: 70,
Visits: 175
|
Actually, we found that in some places the code des HTML.Encode, and that messed up the Hebrew. We now have the descriptions and breadcrumbs showing up, and we're working on the category menus, I imagine the same function is applied somewhere to these as well.
|
Group: Administrators
Last Active: Tue 10 Sep 2024
Posts: 807,
Visits: 2,748
|
I am assuming the Hebrew text in the old db was HTML encoded going into the database. I know encoding was kind of problematic with CactuShop although pretty sure later ones did unicode support.
If you enter text in hebrew in the Kartris back end, it should go into the database as unicode, so when you view the text directly in the DB, you should see it as hebrew. There should be no issue HTML encoding hebrew text if it's unicode, rather than HTML encoded text.
-- If my post solves your issue, can you 'Mark as Answer' so it's easier for other users to find in future.
If you would like to be informed of new features, new releases, developments and occasional special bonuses, please sign up to our mailing list: http://bit.ly/19sKMZb
|