phpScheduleIt
May 25, 2013, 07:35:23 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: phpScheduleIt 2.4.2 has been released!
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Something wrong with utf8...  (Read 415 times)
schorsch
Newbie
*

Karma: 0
Posts: 5


« on: August 07, 2012, 10:42:22 AM »

I migrate from 1.2.12 to 2.2.2 - everything works fine, I just had to follow this post for german-language: http://php.brickhost.com/forums/index.php?topic=11590.0

But something curios happens to the database... It's a utf-8-database and all users/reservations were correctly imported. I can see all special characters like öäü with phpmyadmin - but in the front-end of phpScheduleIt they look like "?"

A new created user/reservation is shown correctly on the front-end, but in phpmyadmin it looks like "ü"

Any idea...  Huh ?
Schorsch
Logged
schorsch
Newbie
*

Karma: 0
Posts: 5


« Reply #1 on: August 07, 2012, 11:00:16 AM »

nearly the same like this: http://php.brickhost.com/forums/index.php?topic=2836.0
but 5.3.10-1ubuntu3.2 and mysql 5.5.24 here
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5419


WWW
« Reply #2 on: August 13, 2012, 01:30:41 PM »

Hmm. I'll have to take a look.
Logged
schorsch
Newbie
*

Karma: 0
Posts: 5


« Reply #3 on: August 14, 2012, 01:45:39 AM »

that would be nice Wink!
Logged
schorsch
Newbie
*

Karma: 0
Posts: 5


« Reply #4 on: August 17, 2012, 03:04:01 AM »

Hmm. I'll have to take a look.

i added this line:
mysql_query('set character set utf8;');
in file
lib/Database/MySQL/MySqlConnection.php
after
$this->_db = mysql_connect($this->_hostSpec, $this->_dbUser, $this->_dbPassword );

ugly? maybe - but it works Wink
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5419


WWW
« Reply #5 on: August 20, 2012, 01:25:04 PM »

Thanks! I'll use this if I can't figure out why it's not using UTF8 already.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!