Home  >  Article  >  Backend Development  >  10 recommended articles about rare words

10 recommended articles about rare words

巴扎黑
巴扎黑Original
2017-06-10 17:45:009699browse

Recently, the business side reported that the insertion of individual user information failed, and the error message was similar to Incorrect string value: "\xF0\xA5.... Judging from this prompt, it should be caused by the character set not supporting a certain rare character, which is needed Friends can refer to the recent feedback from the business side that the insertion of individual user information failed, and the error message was similar to "Incorrect string value:"\xF0\xA5...." This prompt should be caused by the character set not supporting a certain uncommon character. . The following is a scenario reproduced in a virtual machine: step 1. Simulate the original table structure character set environment: use test; CREATE TABLE `t1` ( `id` int(10) NOT NULL AUTO_INCREMENT, `real_name` varchar(255) C

1. How to handle the failure of MySQL to insert rare characters (picture)

10 recommended articles about rare words

Introduction: Recently, the business side reported that the insertion of individual user information failed, and the error message was similar to Incorrect string value: "\xF0\xA5.... Judging from this prompt, it should be the character set It is caused by a rare word not being supported. Friends in need can refer to

2. How to use Python to detect rare words

10 recommended articles about rare words

Introduction: Recently, I encountered a requirement at work, which requires detecting whether a field contains rare words and some illegal characters such as ~!@#$%^&* . Solved it by searching for information on the Internet. Now I will share the solution process and sample code with you. If you need it, let’s take a look.

#3. ##Python implementation method of detecting rare words

Introduction: Recently, I encountered a requirement at work, which requires detecting whether the field contains rare words and some illegal characters such as ~!@ #$%^&*. I solved it by searching for information on the Internet. Now I will share the solution process and sample code with you. If you need it, you can take a look at it.

4. The most complete PHP Chinese character to Pinyin library (including rare characters)

Introduction: The most complete PHP Chinese character to Pinyin library (including rare characters) )

5. Support rare characters and automatically recognize utf-8 encoded php Chinese character to pinyin class_PHP tutorial

Introduction: PHP Chinese characters that support rare characters and automatically recognize UTF-8 encoding are converted to Pinyin. The source code of the Pinyin class file py_class.php is as follows: php class py_class{ function py_class(){ $this - pinyin = array( "a" = array(59371, 41648, 50400, 33157, 41392, 18661, 47599), "ai" = arr

6. csv exports rare characters of names into question marks

Introduction: CSV exports names with rare characters into question marks

7. Supports rare characters and automatically recognizes UTF-8 encoded PHP Chinese characters Pinyin conversion class

#Introduction: This article mainly introduces the PHP Chinese character conversion class that supports rare characters and automatically recognizes UTF-8 encoding. It is very practical! Friends in need can refer to

8. .net-Uncommon words cannot be stored in mysql after being deployed to the server

Introduction: C# program, .net4.0 database mysql5.5, local test on the development side, the rare character '俍' can be correctly stored in the database, the character set database and page are both utf8, but after deploying to the server, the rare character '俍' 'Unable to save, the sql statement fails when executed to execute. It is ok to execute the sql sentence directly in the server-side visual mysql management tool. Check that the character set field character set of the server mysql database is utf8, and the mysql version is also 5.5. So I think it is not a problem with the database, but there is no problem when the program is tested locally, but it does not work when tested on the server. Can any hero help me find out what is the reason?

9. Support rare characters and automatically recognize utf-8 encoded php Chinese character to pinyin class_PHP

Introduction: This article mainly introduces the PHP Chinese character to Pinyin class that supports rare characters and automatically recognizes UTF-8 encoding. It is very practical! Friends in need can refer to

10. The most complete PHP Chinese character to Pinyin function (a total of 25,961 characters, including 20,902 basic Chinese characters + 5,059 rare characters)

Introduction: The most complete PHP Chinese character to Pinyin function (a total of 25,961 characters, including 20,902 basic Chinese characters + 5,059 rare characters)

[Related Recommended Q&A]:

cjk - How to use latex to edit rare characters under Ubuntu?

linux - CentOS installed "Wenquanyi Zhenghei", but some of the text is garbled. What should I do?

The above is the detailed content of 10 recommended articles about rare words. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn