About 382,000 results
Open links in new tab
  1. MySQL CHAR () Function and UTF8 Output? - Stack Overflow

    Mar 5, 2010 · If you want a Supplementary Character, then you will need to use the utf32 encoding. Not only does _utf32 0xFC return ü, but: _utf32 0x1F47E returns: For more details on these options, plus Unicode escape sequences for …

  2. How to display unicode in MySQL result? - Stack Overflow

    May 6, 2012 · create table x(y varchar(100) character set utf8); insert into x(y) values('爱'); But the chinese character doesn't appear: select y from x; Output: Y ?

  3. How to store unicode in MySQL? - Stack Overflow

    Jul 25, 2010 · The character set for a given string column (CHAR, VARCHAR or *TEXT) is determined by its character set and/or collation. This is a quite intense topic so it's best to read the documentation I linked. For example: CREATE TABLE t1 ( col1 CHAR(10) CHARACTER SET utf8 COLLATE utf8_unicode_ci )

  4. 14.8 String Functions and Operators - MySQL

    By default, CHAR() returns a binary string. To produce a string in a given character set, use the optional USING clause: If USING is given and the result string is illegal for the given character set, a warning is issued. Also, if strict SQL mode is enabled, the result from CHAR() becomes NULL.

  5. MySQL :: MySQL 8.0 Reference Manual :: 12.9 Unicode Support

    MySQL supports these Unicode character sets: utf8mb4: A UTF-8 encoding of the Unicode character set using one to four bytes per character. utf8mb3: A UTF-8 encoding of the Unicode character set using one to three bytes per character. This character set is deprecated in MySQL 8.0, and you should use utf8mb4 instead. utf8: An alias for utf8mb3.

  6. MySQL :: MySQL 8.4 Reference Manual :: 12.2.1 Character Set Repertoire

    UNICODE: The expression can contain characters in the Unicode range U+0000 to U+10FFFF. This includes characters in the Basic Multilingual Plane (BMP) range (U+0000 to U+FFFF) and supplementary characters outside the BMP range (U+10000 to U+10FFFF).

  7. CHAR() Examples in MySQL - Database.Guide

    Nov 16, 2018 · In MySQL, the CHAR() function returns the character for each integer passed. In other words, you can pass in one or more integers, and the function will interpret those as code values for string characters and return the corresponding string for each code value. The syntax goes like this: CHAR(N,... [USING charset_name])

  8. unicode - Mastering UTF-8 in MySQL: A Developer's Handbook

    Feb 18, 2025 · Verify and set the character set at the server, database, table, and column levels to utf8mb4 (recommended) or utf8. utf8mb4 supports a wider range of characters, including emojis. You can use SQL commands like these (adjust database and table names as needed):

  9. Enter Unicode characters in MySQL | HackTweaks

    In this tutorial, I am going to guide you to input unicode characters and fetch it out in MySQL 4.1+ version using PHP 5. MySQL has support for UTF-8 but it doesn’t use it as its default character encoding.

  10. SQL String Functions: Unicode - Online Tutorials Library

    The SQL UNICODE() function is used to retrieve the integer(or uni-code value) value of the characters. It accepts a string value as a parameter and returns the integer value(Unicode value) for the first character of the given expression.

  11. Some results have been removed
Refresh