SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 24, 2012, 11:14:08 pm

Login with username, password and session length
Members
Total Members: 10071
Latest: cdavidson012
Stats
Total Posts: 28687
Total Topics: 4977
Online Today: 94
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 43
Total: 43
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
| | | | |-+ 
0 Members and 3 Guests are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: SMF Links and SMF Articles character set problem  (Read 1328 times)
oskars
Newbie
*
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: 9678


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

Try changing the table type for the tables to utf8
Logged
oskars
Newbie
*
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: 9678


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
Newbie
*
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: 9678


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 08:02:50 am]

[Today at 04:11:41 am]

[May 21, 2012, 08:54:11 am]

[May 20, 2012, 11:06:52 am]

[May 20, 2012, 05:58:11 am]

[May 19, 2012, 06:16:58 pm]

[May 19, 2012, 05:42:37 pm]

[May 18, 2012, 03:08:38 pm]

[May 17, 2012, 06:07:46 pm]

[May 17, 2012, 02:22:07 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.16 | SMF © 2006-2011, Simple Machines LLC
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 0.23 seconds with 20 queries.