The infinity character ( ∞) is converted to ∞when it is inserted into my MySQL table using a PHP script, but if I insert it directly from phpMyAdmin, it inserts correctly. The character is passed to the PHP script by calling GET with a JavaScript function encodeURIComponent()around the content. Field in MySQL database utf8_swedish_cl. How do I get ∞to insert as quality ∞into the database?
∞
∞
encodeURIComponent()
utf8_swedish_cl
Mark this real good SO: UTF-8 answer all the way ...
, phpMyAdmin ? ∞ UTF8, 1- .
, select hex(column_name) from the_table?
select hex(column_name) from the_table
E2889E, UTF8, .
E2889E
C3AC, -1, - utf8.
C3AC
EC, , -1
EC
, - UTF8:
select column_name, character_set_name, collation_name from information_schema.columns where table_name = '_your table_'
SET NAMES utf8 , ?
SET NAMES utf8
"" SET CHARACTER SET utf8 .
SET CHARACTER SET utf8
Source: https://habr.com/ru/post/1728544/More articles:PHP uploader for about a thousand images? - phpHow can I call the sharethis regen button? - javascriptC #: How to get my mouse coordinates when left / right click? - c #Oracle 10g - slow metadata queries - oracleHow to convert this piece of code in Generics? - genericsDeploying Subversion and Testing - version-controlRun binary in ruby (on Heroku) - ruby | fooobar.comListening to TCP connections through a browser - browserWebDav: How to set Exchange 2003 Destination Category? - c #Why doesn't my subclass UIView get touches moved to UIScrollView? - iphoneAll Articles