• The code is GB2312, so that the data received by Ajax can be displayed in Chinese


    Copy codeThe code is as follows: <script> var xmlHttp; var BrowerType=”ie”; function createXML(){ try{ xmlHttp = new ActiveXObject(“Msxml2.XMLHTTP”); } catch (e){ try{ xmlHttp = new ActiveXObject(“Microsoft.XMLHTTP”); }catch(e2) { xmlHttp =false; } } if (!xmlHttp && typeof XMLHttpRequest != ‘undefined’){ xmlHttp = new XMLHttpRequest(); BrowerType = “ff”; // It is used to record whether Firefox is […]

  • The fluent project crashed when ios14 was started


    The fluent project crashed when ios14 was started Collapse phenomenon After the release of IOS 14, running the app will flash back, which is not related to the model. As long as it is IOS 14, it will flash back image.png malloc: Incorrect checksum for freed object 0x10935ca00: probably modified after being freed. Crash analysis […]

  • python2. 7 query MySQL Chinese garbled code


    Question: python2. 7 Chinese garbled code appears when querying or inserting Chinese data in MySQL — Possible situations: 1. There is no code set for each item in MySQL database. The default value is’ Latin ‘ 2. Use mysql The default code is not set when connecting 3. The code of Python is not set, […]

  • adada


    README: Chinese documents Introduction to the framework When developing a chat/video/live/information interface, users are expected to maintain a smooth transition between the input method and the function panel (such as the expression panel/more options panel, etc.). Investigate the mainstream app effects and implementation in the market, and realize a set of input panel switching framework […]

  • Spring 5 Chinese parsing data storage – JDBC data storage (Part I)


    The sequence of operations outlined in the following table may best show the spring frameworkJDBCThe value provided by the abstract. This table shows what spring is responsible for and what you need to do. Action Spring You Define connection parameters X open a connection X Specify the SQL statement. X Declare parameters and provide parameter […]

  • Windows command tools


    Babun – a windows shell you will love Cmder – Portable console emulator for Windows Settings Nodejs FAQ Reference Babun – a windows shell you will love http://babun.github.io/ Cmder – Portable console emulator for Windows http://cmder.net/ Settings Open babun and executebabun check, check whether the installation is successful. { ~ } » babun check ~ […]

  • Volunteer Recruitment – Chinese English translation of shardingsphere Community Technical Articles


    If you are interested in technical article translation and want to join the Apache open source community, please become our volunteer! Capability requirements English translation skills Basic knowledge of shardingsphere Article list Start ElasticJob off with new goal How to construct the distributed database Apache ShardingSphere is included in CNCF Landscape The mixed open-source distributed […]

  • How Python solves secure_ Filename does not support Chinese


    catalogue 1、 Recently used secure_ Problems found by filename 2、 The reason was found later 3、 Solution 4、 Effect display Security has been used recently_ Filename, and then tragically found that Chinese was not displayed, so I slowly debugged and finally found the problem. 1、 Recently used secure_ Problems found by filename The file name […]

  • An example analysis of using Chinese named identifiers in commercial projects


    2020 is doomed to be sad. It is not the best time to change to Chinese naming, because under pressure, it will be more inclined to reduce risks, including using the Old English naming method. On the other hand, if the transition goes smoothly, at this critical moment, the seemingly insignificant technology of Chinese named […]

  • Online Chinese and English symbol conversion tool


    Online Chinese and English symbol conversion tool Online Chinese and English symbol conversion tool Convert Chinese symbols to English symbols or English symbols to Chinese symbols, convert single quotation marks’ ‘to’ ‘, double quotation marks” to ”, square brackets [] to [], curly braces {} to {}, commas to, colons to: https://tooltt.com/symbol-convert/

  • Python special processing URL encoding and decoding, character encoding into Unicode


    Ptyon specially handles URL encoding and decoding, and character encoding is transformed into Unicode Directly on the code! #Chinese analysis This work adoptsCC agreement, reprint must indicate the author and the link to this article

  • Spring MVC — Chinese character set processing + custom converter


    Processing of Chinese character set To process Chinese character sets, use a characterencoding filter provided by MVC. You only need to add the following filter configuration in the web.xml configuration information <filter> <filter-name>characterEncoding</filter-name> <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class> <init-param> <!– Configure character set — > <param-name>encoding</param-name> <param-value>UTF-8</param-value> </init-param></filter> <filter-mapping> <filter-name>characterEncoding</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> Custom type converter Scenario: we need to […]