![]() |
|
Thread Tools |
#1
|
||||
|
||||
Product import and character encoding problem
Well, we have two boards:
- one in ISO-8859-7 (Greek) / my development board - and another one in UTF-8 When I export a product from my dev board and import it to the UTF-8 board, there is issue with the Greek characters. ![]() They appearing as "???????". In the other hand, if I import the same product on another ISO-8859-7 board works perfect. Any idea how to fix it? No members have liked this post.
|
#2
|
|||
|
|||
Is the encoding of the database with the question marks properly set?
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com Contact me for custom vBulletin 3/4 work & server/website management. No members have liked this post.
|
#3
|
||||
|
||||
hmm yes I think so, but how I can detect that it is the correct encoding?
Both boards I noticed works perfect for posting any characters (english / greek). The issue is on the product import where the greek characters inside the template saved as "?????" cause when I visited the page where a template is called, I see "?????" instead of greek chars. No members have liked this post.
|
#4
|
||||
|
||||
Any idea? The product I'm trying to import is a bit big, I can't re-build it on the utf-8 board.
![]() I need to import it so it will be working as should. I'm using Notepad++. No members have liked this post.
|
#5
|
||||
|
||||
Originally Posted by Scandal
Have you tried converting the script using iconv? ![]()
https://stackoverflow.com/questions/...19843#36619843 No members have liked this post.
|
#6
|
||||||||
|
||||||||
Well, I found a hard-coded solution.
![]() 1. Open the exported xml with Notepad++ 2. Convert it to UTF-8 (Encoding > Encode in UTF-8 > Save) 3. Open file /includes/class_xml.php, then find:
4. Add below:
5. Then try to import *xml product via AdminCP. All ok! ![]() 6. Undo step #4. Done ![]() No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 21:04.