Greetings to all,
thanks for the great software. Although i am a java guy, i started playing around with php today. I noticed that the
script that creates the database connection generates this line of code :
mysqli_query($conn, 'SET NAMES \'UTF-8\'');
Since i am actually using utf characters i saw that it was not fetching me the correct encoding. So after searching
around i corrected the line to :
mysqli_query($conn, 'SET NAMES \'utf8\'');
removed the dash character and now it is ok. The version of mysql that i am using is 5.0.51a-community-nt , apache 2.2,
I am not sure if it has to do with my configuration , just letting you know.
Thanks for reporting this. Reassigning to the database part.
I think you are right, it should be utf8,at least according to mysql manuall section
on encodings have seen, and the lower case is ok.
thats great that it inserts this statement now, since it is an important one
for being able to use other encodings in netbeans and between netbeans php
and the database.
marking as p2 since as per criteria it relates to encoding and how data might show
or be processed in ide.
I wonder also if php module would have such need for using this statement in its functionality ?
thanks for your reply.
Looking forward to the quick fix.
Best wishes for the New Year.
Integrated into 'main-golden', will be available in build *200905050201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Jiri Rechtacek <firstname.lastname@example.org>
Log: #155268: I18N - mysql code generator utf encoding problem