Home arrow Forum mod_smf_recenttopics 2.0 doesn´t display well some characters
  Welcome, Guest. Please login or register.
Did you miss your activation email?
October 14, 2008, 04:13:57 AM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Addon Discussion
| |-+  Joomla Modules
| | |-+  mod_smf_recenttopics 2.0 doesn´t display well some characters
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] 2 Go Down Print
Author Topic: mod_smf_recenttopics 2.0 doesn´t display well some characters  (Read 5780 times)
GlingGlo
Joomla Pro
**

Karma: +1/-1
Offline Offline

Posts: 99


View Profile
mod_smf_recenttopics 2.0 doesn´t display well some characters
« on: November 08, 2006, 01:34:14 PM »

if the topic name has double quotes in it, for example:

This is a topic that will end up in the "Guinness book of records"

it displays in the module:

This is a topic that will end up in the "Guinness book of records""

Anybody else having this problem or knows why it happens?

Cheers,
NiCo
Logged
GlingGlo
Joomla Pro
**

Karma: +1/-1
Offline Offline

Posts: 99


View Profile
Re: mod_smf_recenttopics 2.0 doesn´t display well some characters
« Reply #1 on: November 13, 2006, 09:26:05 AM »

Guys...

Isn´t there anybody there that is using text in any language that has special characters or accented letters like spanish, german, french, etc... that can confirm that they are or are not properly being displayed in mod_recenttopics 2.0?

Cheers,
NiCo
Logged
ximtus
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 14


View Profile
Re: mod_smf_recenttopics 2.0 doesn´t display well some characters
« Reply #2 on: November 13, 2006, 12:07:01 PM »

im having same issue, some characters such as İ (I with a dot), ç,Ç are shown as &quot etc.
Logged
Livebox
Guest
Re: mod_smf_recenttopics 2.0 doesn´t display well some characters
« Reply #3 on: November 13, 2006, 01:38:13 PM »

what charset are you using in your template. This or somthing else?
Quote
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

What Collation do you have in your database UTF-8 or somthing else
Logged
GlingGlo
Joomla Pro
**

Karma: +1/-1
Offline Offline

Posts: 99


View Profile
Re: mod_smf_recenttopics 2.0 doesn´t display well some characters
« Reply #4 on: November 13, 2006, 04:22:13 PM »

Livebox:

Thanks for your help  Smiley

In mod_smfrecenttopics is the only place in my site where these characters are not being properly displayed.

This is what i have in my joomla template´s index.php:

Code:
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO?>" />

Replacing that with the Utf line you mentioned doesn´t solve the issue.

Concerning the database, if i look with MySQLFront at the database properties, i see that Character Set is "latin1", while nothing is selected in the "Collation" list. If i change the Character set from "latin1" to "utf8" nothing seems to change :-(

Cheers,
NiCo
Logged
Livebox
Guest
Re: mod_smf_recenttopics 2.0 doesn´t display well some characters
« Reply #5 on: November 13, 2006, 05:00:44 PM »

just Check MySQL.net for more info how to do this

You have to do this for the database the tabels and fields
Logged
GlingGlo
Joomla Pro
**

Karma: +1/-1
Offline Offline

Posts: 99


View Profile
Re: mod_smf_recenttopics 2.0 doesn´t display well some characters
« Reply #6 on: November 13, 2006, 06:59:20 PM »

Livebox:

could you be so kind as to give me a little bit more info on why i need this change in all my database, tables and fields?

Thanks a lot,
NiCo
Logged
Livebox
Guest
Re: mod_smf_recenttopics 2.0 doesn´t display well some characters
« Reply #7 on: November 14, 2006, 04:54:07 PM »

You can find this info on Simplemachines.org Wink

some extra info

Convert both data and database tables to UTF-8 character set (do this also with your Joomla database, for beter intergration)

Syntax

void ConvertUtf8 ()

Notes

    * requires the admin_forum permission.
    * uses the convert_utf8 sub template of the Admin template.
    * only works if UTF-8 is not the global character set.
    * supports all character sets used by SMF's language files.
    * redirects to ?action=maintain after finishing.
    * is linked from the maintenance screen (if applicable).
    * accessed by ?action=convertutf8.
Logged
GlingGlo
Joomla Pro
**

Karma: +1/-1
Offline Offline

Posts: 99


View Profile
Re: mod_smf_recenttopics 2.0 doesn´t display well some characters
« Reply #8 on: November 15, 2006, 06:19:07 PM »

Livebox:

I don´t think you are helping me much by just suggesting that i make a massive change in my Joomla and SMF database, without explaining why this is needed, and now pointing me just to the definition of a function of the SMF API, which happens to be a function that is already used inside the SMF code, making your suggestion even more confusing.

Please can you be a little bit more ellaborate on what you know, if you are sure that you have the solution to my problem?

thank you  Smiley
NiCo

P.D: Nobody else is using a language with accented letter or umlauts, such as Spanish, French, Scandinavian languages, etc...? Nobody else is having my problem?  Roll Eyes
Logged
-Wolverine
Developer
Joomla Guru
*****

Karma: +375/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: mod_smf_recenttopics 2.0 doesn´t display well some characters
« Reply #9 on: November 15, 2006, 07:18:28 PM »

I might be able to add something like htmlspecialchars to the string from SMF, but it should alreayd be in this format.  I'll take a look.
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
Livebox
Guest
Re: mod_smf_recenttopics 2.0 doesn´t display well some characters
« Reply #10 on: November 16, 2006, 01:22:22 AM »

I gave you two options one for the template the other to check your SQL. an I pointed you to the Simplemachines forum. It is not on me That you not read this on that site Wink There is a lot writen on the SMF board

http://docs.simplemachines.org/index.php?topic=865
Logged
GlingGlo
Joomla Pro
**

Karma: +1/-1
Offline Offline

Posts: 99


View Profile
Re: mod_smf_recenttopics 2.0 doesn´t display well some characters
« Reply #11 on: November 16, 2006, 05:41:33 PM »

ok...i see it now  Wink

Unfortunately, as per the document, this change doesn´t apply to me, because both of the languages i offer in my site are of the same character set: Spanish and English are both ISO-8859-1

So that means my problem comes from something else.

Thanks anyway,
NiCo

Logged
joomlanewbie
Joomla Master
***

Karma: +20/-5
Offline Offline

Posts: 145


View Profile
Re: mod_smf_recenttopics 2.0 doesn´t display well some characters
« Reply #12 on: November 17, 2006, 02:36:05 AM »

have you tried different browsers/settings in same browser?
Logged
GlingGlo
Joomla Pro
**

Karma: +1/-1
Offline Offline

Posts: 99


View Profile
Re: mod_smf_recenttopics 2.0 doesn´t display well some characters
« Reply #13 on: November 17, 2006, 07:59:38 AM »

Both IE and Firefox display the same.

I just observed a VERY important detail that i should have observed earlier  Embarrassed : Spanish especial letters like á, é, í, ó, ú and ñ display correctly

The problem seems to occur only when the Topic title has quotes in it. Not a quote is displayed but &quot; is displayed

Cheers,
NiCo
Logged
kirck
QA / Testers
Joomla Pro
*****

Karma: +7/-3
Offline Offline

Posts: 91


View Profile WWW
Re: mod_smf_recenttopics 2.0 doesn´t display well some characters
« Reply #14 on: November 17, 2006, 10:16:43 AM »

I have the same problem
Logged
Pages: [1] 2 Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login