Well, because it is pure small white, this problem may be a bit of food, the Great God forgive me ...
is to write PHP, need to echo special characters, such as "This symbol, when writing to PHP with escape \" Good or HTML code
"Well, what?
Ask you,
html, JavaScript, URL special character escapes in the actual programming are useful, some people on the use of special character escapes is not very clear, the following on the escape of Html,javascript,url special characters to do a description
Ext.: http://blog.chinaunix.net/uid-26896647-id-3433968.htmlQuestion Description: If there are special characters such as ' & ', ' _ ', '% ' on a field in a table, and we have to use these special characters in the Where condition?1. Create a table
Web
In general, in HTML, a special character has two representations, one called a digital reference, and one called an entity reference.
The so-called digital reference, is to use numbers to represent the special characters in the document,
For a part of languages directly dependent on ASCII, the characters in the language can be used to generate random language texts. That is, the multi-language text can be generated by concatenating characters in a language.
For example:
Case lcid.
Special characters in JSON data processing, special characters in json data
JSON is now a common way to process data. However, because you use reflection to obtain data, you must process special characters on your own, but some invisible characters
Web page special symbol HTML code Daquan
HTML Special character encoding Daquan: to enter special characters into the Web page, you need to include the & in the HTML code to start with a combination of letters or & #开头的数字. Here
Solutions for transferring Chinese characters and special dangerous characters through URLs in php. This article combines the urldecode and base64_encode functions in php, and then uses the replacement function you have written to safely pass url
Url transfer of Chinese characters, solutions for special dangerous characters (for reference only) urldecode, base64_encode. Url-based solutions for transmitting Chinese characters and special dangerous characters (for reference only): During the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.