Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 11:16 am EST
Geeklog Forums
Improper conversion of special characters during upgrade
Status: offline
griffman
Forum User
Junior
Registered: 04/23/02
Posts: 28
We recently migrated from a very old version of Geeklog (1.3.7sr3, I think) to 1.4.0sr3, and most everything seems to have worked ... except for the conversion of special characters in both comments and usernames (and probably any other field where they might have existed).
For instance, if a user's account name was "Jévonne," it now shows up as "Jétonne," and the user obviously can't login. I've compared the header.thtml and config.php files from before and after the upgrade, and I don't see any obvious setting I may have overlooked.
Help!?
-rob.
For instance, if a user's account name was "Jévonne," it now shows up as "Jétonne," and the user obviously can't login. I've compared the header.thtml and config.php files from before and after the upgrade, and I don't see any obvious setting I may have overlooked.
Help!?
-rob.
8
7
Quote
Status: offline
griffman
Forum User
Junior
Registered: 04/23/02
Posts: 28
Follow up: The data in the MySQL file itself seems to be fine. If I connect directly via mysql and run the query:
select * from users where username='Jévonne'
Then I find the account. But if I use the Geeklog search field on users, I can only find a match if I search for "Jévonne".
So our data is fine, it's just the display that's messed up.
-rob.
select * from users where username='Jévonne'
Then I find the account. But if I use the Geeklog search field on users, I can only find a match if I search for "Jévonne".
So our data is fine, it's just the display that's messed up.
-rob.
9
9
Quote
Status: offline
griffman
Forum User
Junior
Registered: 04/23/02
Posts: 28
Solved. But the cause and solution might be worth sharing. We had, we thought, properly set the charset in the config.php ... but we didn't understand that the english.php file in the language directory *also* set the charset, and that its value overrode that of config.php.
RTFM, I know.
-rob.
RTFM, I know.
-rob.
8
12
Quote
All times are EST. The time is now 11:16 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content