UTF-8 is the way to go!
I don't know if you talk about my stuff or html forum.net stuff
I ment html forum stuff It's fine, I've managed to make it work, I took the JS and changed the templates so that the generater links alo generate tha JS code... It works like a charm...
Whe I finaly migrate my forum to punbb, think I'm gonna add a lite checkbox so people who care about back button functionality can disable JS fetching of content...
It works, I'm just wondering if there are any limitations using utf-8...
WOW, this is great, are the scripts that I can see with view source everything I need to make this work?
It works, thank you very much, I didn't change field type to varbinary, I was trying utf_bin collation for that field I knew it was something with binary
The big question is, can I expect some problems with utf-8?
File: c:\program files\apache group\apache\htdocs\punbb\include\search_idx.php Line: 151 PunBB reported: Unable to insert search index words Database reported: Duplicate entry '' for key 1 (Errno: 1062)
The funny thing is that sometimes I can enter posts with no error. With a little testing a can say that if you enter only one croatian character it works fine, but if there is more than one it is possible that there will be a problem..
I have this forum on my local machine: Apache/1.3.31 (Win32) PHP/4.3.10, MySQL 4.1.7
I believe there should be a tutorial on how to make punbb use unicode (utf-8) encoding.
I am running a croatian web site that is currently using phpbb, and I have another site with SMF forum installed, and both work quite nice with utf-8 encoding.
I would like to give punBB a try, but I am running into some problems.
I've changed the template so that the forum displays itself in utf-8. I've edited /include/dblayer/mysql.php and changed
if ($p_connect) $this->link_id = @mysql_pconnect($db_host, $db_username, $db_password); else $this->link_id = @mysql_connect($db_host, $db_username, $db_password);
if ($p_connect) $this->link_id = @mysql_pconnect($db_host, $db_username, $db_password); else $this->link_id = @mysql_connect($db_host, $db_username, $db_password); [b]mysql_query("SET NAMES 'utf8'");[/b]
Posting a new message shows me (when I check the thread, and look into my mysql database) that croatian simbols are working as intended, but my problem is (and I've noticed that many other users have the same issue):
Unable to insert search index words.
This happens in /include/search_idx.php, I had a look at http://punbb.org/forums/viewtopic.php?pid=19681#p19681 but it didn't help. As far as I can see, the 2 lines in search_idx.php are the only thing stopping punbb to work in unicode, or is there something else? I saw some other posts from Rickard explaning that many functions should be rewritten if punnbb would use utf-8, so if anyone cares to explain why it would be very nice, I would really like to know.
It would be really great if you make it work with utf-8, and I see no reason why it couldn't be the dafault encoding for punbb?