Twitter SMFHacks Facebook SMFHacks SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 25, 2013, 02:13:21 pm

Login with username, password and session length
Members
Total Members: 10771
Latest: Siphix
Stats
Total Posts: 32415
Total Topics: 5483
Online Today: 60
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 1
Guests: 38
Total: 39
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
| | | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: SMF Links and SMF Articles character set problem  (Read 2259 times)
oskars
Inline PM Customer
*****
Offline Offline

Posts: 2


View Profile
« on: February 21, 2011, 04:26:39 pm »

Hello!
I am using SMF 2.0 RC5 with UTF-8 language character set. (languages used latvian and russian).
I an using also language files to change interface and everything works Ok, including SMF inself, Simple portal and other mods.
The problem is with SMF Links and SMF Articles, which turns most of non-Latin characters to ? or some smily type.
As soon as I enter latvian characters like ēūīāšģķļžčņ or russian characters, for instance, Цитата от 13 Июня 2006, after submission these are no the same any more. The problem is with all the texts - category, topic, article text, link name e.t.c.

These mods are  cool, but as these characters are crippled, there is no use in languages having specific characters.
Please check it.
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11009


View Profile
« Reply #1 on: February 21, 2011, 04:28:53 pm »

Try changing the table type for the tables to utf8
Logged
oskars
Inline PM Customer
*****
Offline Offline

Posts: 2


View Profile
« Reply #2 on: February 21, 2011, 04:48:48 pm »

Thanks for instant replay.
Must admit, that I am no expert in MySQL and table management. I using myadmin to do some things with it.
So I do not fully understand which of the parameters should I change:

Field name    
Data type    
Type width    
Type options    Case insensitive Case sensitive
Allow nulls?    Yes No
Default value    Don't change NULL Value
Part of primary key Yes No

As I understand, the main thing is type - but this is the same for most of tables - tinytext, text, longtext (not mentioning anything about character set used).
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11009


View Profile
« Reply #3 on: February 21, 2011, 04:52:48 pm »

It should be under Operations if you are using phpmyadmin you have to get inside the smf_links and smf_articles tables.
Logged
hydrozagadka
Inline PM Customer
*****
Offline Offline

Posts: 1


View Profile
« Reply #4 on: September 10, 2011, 02:04:01 pm »

I operate on files, via Programmers Notepad, and I'm not sure where I should find these "tables" to change. I have the same problem with characters (utf-8 set) with SMF Articles, as Oskars earlier.
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11009


View Profile
« Reply #5 on: September 10, 2011, 06:42:19 pm »

Easier way would be to use phpmyadmin and change the tables to uft8 as the table type.
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[Today at 11:40:49 am]

[May 24, 2013, 06:36:59 pm]

[May 24, 2013, 05:22:09 pm]

[May 24, 2013, 05:20:20 pm]

[May 24, 2013, 05:11:52 pm]

[May 23, 2013, 08:29:56 pm]

[May 23, 2013, 04:50:21 am]

[May 22, 2013, 10:03:30 pm]

[May 22, 2013, 03:00:09 pm]

[May 22, 2013, 03:03:31 am]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 1.19 seconds with 21 queries.