473,387 Members | 1,771 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Connection Character Set MySQLi


hello!

i am using PHP5 with the mbstring extensions, and have it set to
internally use UTF-8 (with all the usual worries about which functions will
correctly work with UTF, etc ...). I have also set up my MySQL database(s)
to store data in UTF-8 format as well. Finally, I save my PHP scripts in
UTF format, so that any string literals are, indeed, UTF-8.

so, the question is: Why is it that when I ask for the
character_set_name() in MySQLi, it's always latin1_swedish_ci ... ?

Is this a problem at all, or should I just not worry about it? Is there
any way to set it to what i want? I can't seem to find any info in the
online manual, but that doesn't necessarily mean it's not there....

any thoughts?

thanks!
mark.

--
I am not an ANGRY man. Remove the rage from my email to reply.

Ashlee Simpson Sings! You Faint .... --More--
Ashlee Simpson Sings! Ashlee Simpsons sings! You die ... --More--
Jul 17 '05 #1
0 1221

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Tim | last post by:
I have trouble with MySQL 5 and PHP 5.0.2, using XP SP1 with IIS. I can get PHP to access MySQL using CGI and the (older) MySQL functions, but when I try and use ISAPI and MySQLi functions I have...
8
by: Schmalz | last post by:
Hi all. Probably not an original posting but I have searched high and low for a satisfactory resolution to this problem. I am using Windows XP, IIS 5.1, PHP 5.1.4 and MySQL 5.0.23 and Dreamweaver...
2
by: Curtis | last post by:
Hello everyone: Recently, I decided to upgrade to PHP 5.2.0. I have C:\php5 in the Windows XP PATH, so upgrading is quite painless; just unzip new release, and restart Apache! Usually it goes...
1
by: soft_devjava | last post by:
my environment: =========================== -php ver 5.2.0 -mysql 5 -windows xp -apache 2 -all of these are on the same machine my code: ==========================
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.