Edit tables from phpmyadmin (encoding issue) - character-encoding

I want to manually update a table created by CakePHP using phpMyAdmin interface, but I cannot put characters like é or çbecause the fields actually looks like this.
Current table interclassement: utf8_unicode_ci
Is there any way to display these characters correctly in phpMyAdmin (knowing that they are well displayed in my website ) ?

Related

(Solved))The result could not be loaded-jquery-select2

I’ve got a problem.
The select box of “Job No.#” can render data from MySQL, but the select box of “Address” cannot.
Field “address” and field “job_number” come from the same table.
But if I create a new field, like “newAddress”, with the same data as in “address”, it works~,
But just changing the “address” to “newAddress” doesn’t work.
In addition to the “address” field, several other fields in this table cannot be rendered either.
The database structure should be ok~ because I am able to fetch() and print the data from the “address” with the same SQL sentence.
And it is working all right on other tables~
Could you please? Thank you very much!
I've solved it!
The reason is a kind of “-” symbol input by users before.
The "-" is longer than normal -.
json_encode() cannot encode it, and it is displayed as garbled code when I print it out directly.

Suitelink Reference Table

I work with Wonderware software. One of the objects used to perform communication between Wonderware and the PLC is called Suitelink. In it, I have a table defined that has the name of one of my application fields on the left side and the name of the PLC tag providing its value on the right.
Once this saved and activated (deployed) the PLC tags will feed values in the field attributes to Wonderware.
Does anyone know where is this list saved in the system?
I am working at a web page and want to retrieve this list dynamically so I can have the page updated based on the current live value of the PLC tag being used.
I have looked in the database but could not find it.
C:\ProgramData\Wonderware\DAServer
Then within there you'll have several subfolders for your DA Servers. Open the subfolder to find a *.AAcfg file and your contents are in there in what looks like an XML format. You'll be hunting for all the <DeviceItem> tags

Insert data into phpmyadmin table field automatically

I have a table field "dealership name".. that I want to have automatically be populated with a specific name. I thought I could do it through "as defined" in the actual table but that doesn't seem to be working. As I'm search through the help fields.. it seems the only way to do it is with "update"?
As you are using PHP Cron Job will be useful to you

Insert char like 'Š' in MySQL with PHP

i have this query:
insert into orders (customers_id, customers_name) values ('51064', 'Šample Šample')
If i execute this query from PHP, my database record become
[51604, '?ample ?ample'] (if executed with MySQLi) or
[51604, 'Šample Šample'] (with mysql_query)
I also noticed that if i use the value from $_GET
insert into orders (customers_id, customers_name) values ('51064', {$_GET['name']})
it becomes [51064, 'Åample Åample']
BUT if i insert manually the query using software like 'Navicat' it saves the query with the correct character (so i think that the charset is the right one)
I need to save the character Š (and many others) in the right way from PHP.
Set the charset to be used when sending data back and forth from the database server.
$mysqli->set_charset("utf8")
This is preferred over
// Will not affect $mysqli->real_escape_string();
$mysqli->query("SET NAMES utf8");
See http://www.php.net/manual/en/mysqli.set-charset.php and http://www.php.net/manual/en/mysqlinfo.concepts.charset.php
set Mysql encoding before using the DB.
mysql_query("SET NAMES 'utf8'");
OR use the utf8 utf8_encode() utf8_decode() functions

Persian words changed to ??? in Orchard

I've build an orchard site on my local machine. this site is in three language and on my local computer every this is good.
But after I published my site on remote server; for example when I want to add a new page in Persian language, after saving word to database every words changed to ????.
site address is http://modernsaraylar.com/ and I don't know how to fix it.
by the way, I have put all of the tables collation to utf8-persian-ci but it doesn't work :(
TNX in advance.
In SQL then you will have to change the column type should be changed to nvarchar instead of varchar
add "CharSet=utf8" at the end of connection string and it solved the problem. It you use MySQL you will have this problem.

Resources