Gentoo Archives: gentoo-user

From: Fernando Rodriguez <frodriguez.developer@×××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] utf8_general_ci
Date: Tue, 05 May 2015 16:34:45
Message-Id: BLU436-SMTP7462A63DAF5B9EAA3227FE8DD10@phx.gbl
In Reply to: [gentoo-user] utf8_general_ci by Joseph
1 On Tuesday, May 05, 2015 9:32:15 AM Joseph wrote:
2 > I have my mysql database "Collation" set as: utf8_general_ci
3 >
4 > but when a customer from for example Japan places an order all I see is:
5 >
6 >
7 &amp;#31481;&amp;#40763;&amp;#31435;&amp;#21407;&amp;#30010;&amp;#65301;&amp;#65293;&amp;#65301;
8 >
9 > Do I need to change "Collation" setting to something else or something else?
10 >
11 >
12
13 I think that's because the web applications runs the data through something
14 like php's htmlspecialchars() or similar to help prevent SQL injections. So
15 you'll need to either decode it before using it (I think you can use the app-
16 text/recode), or use a different method to filter anything that could be
17 malicious SQL.
18
19
20
21 --
22 Fernando Rodriguez

Replies

Subject Author
Re: [gentoo-user] utf8_general_ci Joseph <syscon780@×××××.com>