Support Forums

UTF-8 support

This is a discussion on UTF-8 support within the Technical Support forums, part of the Technical Support Forums category; Using: V4.1.6 Designer with deepsea template The letter �, � and � is not displayed correctly. I followed the guide ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

Reply
 
Thread Tools Display Modes
Old 12-31-2009, 06:14 PM   #1
Member
 
Join Date: Dec 2009
Posts: 40
Rep Power: 1
jonten123 is on a distinguished road
Default UTF-8 support

Using: V4.1.6 Designer with deepsea template

The letter �, � and � is not displayed correctly. I followed the guide here UTF-8 - 68 Classifieds but was not able to include the code in the mysql.php file. I got an Fatal error on my page when including the code. Exactly where shall I put this code? $this->query("set names utf8");

Thanks!
jonten123 is offline   Reply With Quote
Old 01-01-2010, 01:31 PM   #2
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,286
Rep Power: 124
Eric Barnes is a jewel in the rough
Default

Are you running the designer or developer edition?
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 01-01-2010, 02:12 PM   #3
Member
 
Join Date: Dec 2009
Posts: 40
Rep Power: 1
jonten123 is on a distinguished road
Default

Hi,

I�m using the designer version! It�s the language file I�m having problem with. ��� works fine for the locations I added in the acp!

Last edited by jonten123; 01-01-2010 at 02:22 PM.
jonten123 is offline   Reply With Quote
Old 01-01-2010, 02:55 PM   #4
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,286
Rep Power: 124
Eric Barnes is a jewel in the rough
Default

I have seen this before. The easiest fix is to be sure you are saving the language file in UTF-8 format from your text editor. I know textmate has this option and others. So you may want to refer to the user guide of the editor.

Also you can use the html entities for those characters:
Code:
� = Å
� = Ä
� = Ö
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 01-01-2010, 04:08 PM   #5
Member
 
Join Date: Dec 2009
Posts: 40
Rep Power: 1
jonten123 is on a distinguished road
Default

I saved the file through a texteditor in the UTF-8 format and now it displays as it should!

Thank you!
jonten123 is offline   Reply With Quote
Old 01-03-2010, 12:29 PM   #6
Member
 
Join Date: Dec 2009
Posts: 40
Rep Power: 1
jonten123 is on a distinguished road
Default

Hi,

I have a sort order problem with the characters ��� in my categories and my locations. Locations and categories that begins with ��� ends up in the wrong place. I have edited class_categories and class_states in phpmyadmin so it uses utf8_swedish_ci but it did not help. How can I solve this?

Thanks!

Last edited by jonten123; 01-03-2010 at 12:32 PM.
jonten123 is offline   Reply With Quote
Old 01-03-2010, 03:42 PM   #7
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,286
Rep Power: 124
Eric Barnes is a jewel in the rough
Default

I am sorry but you may need to elaborate more. What do you mean by they end up the wrong locations?
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 01-03-2010, 05:09 PM   #8
Member
 
Join Date: Dec 2009
Posts: 40
Rep Power: 1
jonten123 is on a distinguished road
Default

Ok!

The letters ��� comes after z in the swedish alphabet. So its xyz���. But for my locations and categories they don�t. Locations that starts with � and � ends up between locations that starts with a and b for example. They should end up last. Same for categories..
jonten123 is offline   Reply With Quote
Old 01-03-2010, 07:43 PM   #9
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 2,009
Rep Power: 49
seymourjames has a spectacular aura about
Default

Why not use the 68C admin control panel to weight your categories. There is a box provided. You can then make them appear in any order you wish. Click on the little i to see how it works.
__________________
TemplateCodes.com for 68 Classifieds & Magento Online Stores
seymourjames is offline   Reply With Quote
Old 01-03-2010, 08:13 PM   #10
Member
 
Join Date: Dec 2009
Posts: 40
Rep Power: 1
jonten123 is on a distinguished road
Default

Oh, I did not know that. That fixes my categories, but the locations still looks a little messed up..
jonten123 is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is support working? desperate for support vega6143 v3.1 Questions & Support 16 01-11-2008 01:37 AM
Support and Upgrades ksuralta Pre Sales Questions 1 10-23-2007 10:53 AM
Brilliant Support freemls Off Topic 1 05-21-2007 09:06 PM
Support Second to NONE! Thank You! zman78 Testimonials 3 04-04-2006 09:35 AM


All times are GMT -4. The time now is 08:49 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0