Recent Topics
-
PHP Form Session problem with Facebook AppEdcDevelopment - Today, 02:13 AM
-
C# DLL EmbededHamed - Today, 12:58 AM
-
pls help error occurs in arrayGarimaMago - Yesterday, 09:49 PM
-
Mathematical expression solver , how to add parentheses?!indieexe - Yesterday, 08:32 PM
-
mathematical expression solver, help me with solving parentheses!indieexe - Yesterday, 08:23 PM
Recent Blog Entries
Recent Status Updates
Popular Tags
- Managed C++
- c
- networking
- stream
- programming
- Visual Basic 4 / 5 / 6
- console
- Connection
- import
- authentication
- element
- syntax
- session
- hardware
- sql
- javascript
- array
- printing
- generator
- game
- header
- html5
- mysql
- string
- c++
- timer
- loop
- java
- html
- ajax
- form
- C#
- jquery
- php
- assembly
- linked list
- vb.net
- xml
- android
- css
- login
- encryption
- setup
- calculator
- combobox
- binary
- pseudocode
- hello world
- innerHTML
- grid
3 replies to this topic
#1
Posted 28 August 2009 - 01:12 PM
Hello,
I am having a major issue with inserting french characters in my mySQL DB. The french charaters display perfectly fine on the client-side page. If I edit a field directly in the phpMySQL control panel, the french characters also displays correctly.
But if I insert or update fields from a form on a webpage (using PHP), it converst the special french characters into something not readable. For example, à becomes à Â.
I feel as if I've tried it all... any ideas?? here are the variables set on my server for phpMySQL:
*********************************************
character set client utf8
(Global value) latin1
character set connection utf8
(Global value) latin1
character set database latin1
character set filesystem binary
character set results utf8
(Global value) latin1
character set server latin1
character set system utf8
character sets dir /usr/share/mysql/charsets/
collation connection utf8_general_ci
(Global value) latin1_swedish_ci
collation database latin1_swedish_ci
collation server latin1_swedish_ci
********************************************
Any ideas or suggestions would be much appreciated!
Thanks,
Steph
I am having a major issue with inserting french characters in my mySQL DB. The french charaters display perfectly fine on the client-side page. If I edit a field directly in the phpMySQL control panel, the french characters also displays correctly.
But if I insert or update fields from a form on a webpage (using PHP), it converst the special french characters into something not readable. For example, à becomes à Â.
I feel as if I've tried it all... any ideas?? here are the variables set on my server for phpMySQL:
*********************************************
character set client utf8
(Global value) latin1
character set connection utf8
(Global value) latin1
character set database latin1
character set filesystem binary
character set results utf8
(Global value) latin1
character set server latin1
character set system utf8
character sets dir /usr/share/mysql/charsets/
collation connection utf8_general_ci
(Global value) latin1_swedish_ci
collation database latin1_swedish_ci
collation server latin1_swedish_ci
********************************************
Any ideas or suggestions would be much appreciated!
Thanks,
Steph
#2
Posted 06 September 2009 - 02:04 PM
I remember when I installed MySql there was a question which charset it should use, and I chose UTF8 for eveyrthing. I see some things are latin1 or else, I don't know can these support french characters. Maybe not?
I think those settings can be changed to UTF8 using the administration tool.
I think those settings can be changed to UTF8 using the administration tool.
proudly presenting my personal website and game website: F1Simulation. a thrilling Managed DirectX racing game... also my Ask Me
look at my tutorials about cropping images and Mono: bundling Mono with programs and lambda expressions
look at my tutorials about cropping images and Mono: bundling Mono with programs and lambda expressions
#3
Posted 10 September 2009 - 05:42 AM
I'm not sure about mySQL but you are going to want the equivelant to nvarchar datatype.
#4
Posted 09 October 2009 - 03:59 AM
There is a brief, but informative thread on the MySQL site on just this occurance ...
MySQL :: Problem inserting german and french characters
Hope that helps.
Regards,
Phill.
MySQL :: Problem inserting german and french characters
Hope that helps.
Regards,
Phill.
Similar Topics
-

Inserting Image into MySQL Database
Started by RajaGautam, 24 Apr 2013 In: Language Forums → PHP
image
- 2 replies
- 370 views
-
Inserting from external table into temporary table, Not enough values
Started by ThemePark, 21 Dec 2012 In: Language Forums → Databases- 4 replies
- 395 views
-
Inserting and Selecting XML data in SQL Server with ASP.NET (C#)
Started by paddyirishman05, 18 Dec 2012 In: Language Forums → Other Languages → ASP, ASP.NET and Coldfusion
asp.net, c#, xml, sql-server
- 2 replies
- 706 views
-
Inserting Element In Linkedlist In Alphabetical Order.
Started by An Alien, 30 Jun 2012 In: Language Forums → Java
linked list, element
- 4 replies
- 1,253 views
-
Help Inserting Multiple Files With The Same Primary Key C#
Started by seristee, 28 Jun 2012 In: Language Forums → C#
c#, c# sql server, combobox
- Hot 11 replies
- 681 views
Also tagged with one or more of these keywords: mysql
![]() |
Error in my PHP code.Started by roun512, 10 May 2013 |
|
|
|
Security question in PHP.[Secure admin page]Started by aristos007, 07 Apr 2013 |
|
|
||
General Forums →
General Programming →
PHP PDO MySQL Query ProblemStarted by alf007, 03 Apr 2013 |
|
|
||
Language Forums →
PHP →
Advantages of storing Images into a mySQL DatabaseStarted by MisterCode, 21 Mar 2013 |
|
|
||
Language Forums →
Databases →
Creating and implementing foreign key in a single queryStarted by w33t, 20 Mar 2013 |
|
|














