How to handle UTF-8 characters in HTML, JavaScript, PHP and MySQL ...
mahakaal
0
Newbie Poster
Recommended Answers
Jump to PostHey.
HTML:
<!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf8"> </head> <body /> </html>
MySQL
-- When creating a table: CREATE TABLE `myTable`( -- <insert fields> )DEFAULT CHARSET=utf8; -- Before querying the database. -- Note, this is usually not needed, but can be. …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.