Tag:character set

  • Learn the interesting character set internationalization verification function in PHP


    Today’s content is very simple, but also very interesting. I don’t know if you have experienced such a thing, that is, in some fonts, 0 and o are difficult to distinguish, and 1 and L are also difficult to see clearly. Of course, the default fonts of most editors and ides now choose those that […]

  • A simple java character set filter implementation


    Copy codeThe code is as follows: package dw05prj.util.filter; import javax.servlet.Filter; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.FilterChain; import java.io.IOException; /*Page character set filter stream*/ /* Examples of configuration in web.xml<filter> <filter-name>CharEncodingFilter</filter-name> <filter-class>dw05prj.util.filter.CharEncodingFilter</filter-class> <init-param> <param-name>charset</param-name> <param-value>GBK</param-value> </init-param> </filter> <filter-mapping> <filter-name>CharEncodingFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> */ public class CharEncodingFilter implements Filter { private String charSet ; […]

  • In depth understanding of MySQL advanced knowledge points, introduction to startup items, system variables and character sets!


    Mysql database is the most widely used database at present, and it is often contacted in practical work. To really use MySQL well is not only to be able to write SQL, but also to really understand its internal working principle. This paper first introduces some MySQL related knowledge points from a macro perspective, in […]

  • Character encoding in MySQL


    Character encoding problem in MySQL When writing back-end services to insert data into mysql, errors are always reported due to character coding. Please sort it out. View encoding View database encoding show variables like ‘%char%’; View table code Show create table < table name >; View field code Show full columns from < table name […]

  • Reading notes of Linux shell script introduction


    For more interesting content, please pay attention to WeChat official account:Back end technology cabin Introduction to Linux shell script is a book suitable for beginners to systematically learn bash shell. Wall crack is recommended. The following are my notes on reading this book, hoping to be useful to readers. Output color character Echo – e […]

  • Sublime text 2 supports compiling Python 2.75


    1. Configure compilation path Click “preference” — \ > “browse packages” — \ > “Python”, edit the python.sublime-build file, and add the path of the python application. My installation is in the path of C: \ Python 27: { “cmd”:[“python.exe”, “-u”, “$file”], “path”:”C:/Python27″, “file_regex”: “^[ ]*File \”(…*?)\”, line ([0-9]*)”, “selector”: “source.python” } The code path […]

  • [trainee] 07 / 31 SQL introduction and MySQL 8.0 installation


    SQL summary What is SQL? SQL (Structured Query Language) is a concise and easy-to-use relational database language ANSI compliant computer language Oracle, SQL server, MySQL and PostgreSQL all implement SQL language DBASE, access and other parts implement SQL language SQL statements embedded in HTML can access the database through wwwSQL statements can be embedded in […]

  • SQL syntax: DDL, DQL, DCL


    SQL syntax: General syntax: SQL statements can be written in one or more lines, ending with semicolons. Spaces and indents can be used to enhance the readability of statements. The SQL statements of MySQL database are not case sensitive. Three notes Single line comment: – comment content or # comment content (unique to MySQL) Multiline […]

  • Experts teach you how to build a MySQL database system


    As an excellent web server software, Apache HTTP server provides user-oriented front-end application functions. In the actual enterprise website platform, in order to provide richer and more powerful web application functions, it often needs the support of background database, web page programming language and other roles. 1、 Compiling and installing MySQL MySQL is a real […]

  • Why not recommend using UTF-8 in MySQL?


    I remember last year when I was saving Emoji expressions into mysql, I kept making mistakes and couldn’t import them. Then we found a way — by puttingutf8Change toutf8mb4It’s OK. I didn’t delve into it. A year later, I saw an article saying that Emoji text takes up 4 bytes and usually needs to be […]

  • How does EDITPLUS modify the encoded character set of a text file?


    You want to use EDITPLUS to modify the encoded character set of a text file, such as converting a text file encoded with GBK character set to UTF-8   Character set encoding, how to operate? Let’s take a look at the detailed tutorial. Software name: EDITPLUS text editor v5.3.3278 Chinese special free green version Software […]

  • Detailed explanation of collation instances you may ignore in MySQL


    preface The string types of MySQL database include char, varchar, binary, blob, text, enum and set. Different types have completely different performances in business design and database performance, among which char and varchar are most commonly used. Today I’ll take you to learn more about the application of string types char and varchar. Definition of […]