[ php-blog-Bugs-1414571 ] umlauts in adminname corrupted after installing for utf8

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.serendipity.trackers
Message-ID <[email protected]>
Bugs item #1414571, was opened at 2006-01-25 13:27
Message generated for change (Comment added) made by dbu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=542822&aid=1414571&group_id=75065

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installer/Upgrader
Group: None
Status: Open
Resolution: Accepted
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Garvin Hicking (garvinhicking)
Summary: umlauts in adminname corrupted after installing for utf8

Initial Comment:
The setup asks you for the name of the admin. 
since the setup itself is nut utf8 it will store the 
name as Latin1. Later it can be changed and its no big 
problem. maybe this only occured because i use mysql 4.
0 where utf8 is not supportet by the database or 
because i dont have the iconv module.
but I guess it would also happen on the username so you 
could not login after installation.

the solution would be to change the submittet data to 
utf8 (utf8_encode) and store this to the database.

everything else was very good. this is the best 
opensource php script I have ever seen.

----------------------------------------------------------------------

Comment By: david buchmann (dbu)
Date: 2006-07-03 18:49

Message:
Logged In: YES 
user_id=212032

not astonished to observe the same behaviour with the other
fields like blog name and blog description. when fixing
this, please fix for all fields...

(and thanks for s9y!)

----------------------------------------------------------------------

Comment By: Garvin Hicking (garvinhicking)
Date: 2006-01-25 13:46

Message:
Logged In: YES 
user_id=473563

Thanks for pointing this out. Indeed it is a weakness in the
installer, because the Charset is assigned only after
installation, and Serendipity does not transcode the former
input to the new charset.

I will work on such a fixup function that translates the
user input from the default charset (ISO-8859-1 for english
and german) to the really selected charset after the 1.0
Release. Implementing it for the 1.0 Release might result in
more serious breaks, that's why I'm postponing this a bit.

Many thanks for your praise,
Garvin

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=542822&aid=1414571&group_id=75065

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.