Читаем MySQL: руководство профессионала полностью

latin1 заданный по умолчанию набор символов. MySQL latin1 представляет собой тот же набор символов, что и Windows cp1252. Это означает, что это официальный ISO 8859-1 или IANA (Internet Assigned Numbers Authority) latin1, но IANA latin1 обрабатывает точки между 0x80 и 0x9f как неопределенные в то время, как cp1252 и, следовательно, MySQL latin1 назначают символы для тех позиций. Например, 0x80 знак Euro. Для неопределенных записей в cp1252 MySQL транслирует 0x81 в Unicode 0x0081, 0x8d в 0x008d, 0x8f в 0x008f, 0x90 в 0x0090 и 0x9d в 0x009d.


Объединение latin1_swedish_ci это значение по умолчанию, которое, вероятно, используется большинством заказчиков MySQL. Хотя часто скажется, что это основано на правилах объединения Swedish/Finnish, имеются шведы и финны, кто не соглашаются с этой инструкцией.


Объединения основаны на latin1_german1_ci и latin1_german2_ci на стандартах DIN-1 и DIN-2, где DIN замещает Deutsches Institut f├╝r Normung (немецкий эквивалент ANSI, в общем). DIN-1 называется словарным объединением, а DIN-2 называется объединением телефонного справочника.


Правила latin1_german1_ci (словарного):

├Д = A

├Ц = O

├Ь = U

├Я = s


Правила latin1_german2_ci (телефонного справочника):

├Д = AE

├Ц = OE

├Ь = UE

├Я = ss


В объединении latin1_spanish_ci ├▒ (n-tilde) отдельный символ между letter between n и o.


Объединения macroman (Mac West European):


macroman_bin

macroman_general_ci (значение по умолчанию)


Объединения swe7 (7bit Swedish):


swe7_bin

swe7_swedish_ci (значение по умолчанию)

10.10.3. Центральноевропейские наборы символов

MySQL обеспечивает поддержку для наборов символов, используемых в Czech Republic, Slovakia, Hungary, Romania, Slovenia, Croatia и Poland.


Объединения cp1250 (Windows Central European):


cp1250_bin

cp1250_croatian_ci

cp1250_czech_cs

cp1250_general_ci (значение по умолчанию)

cp1250_polish_ci


Объединения cp852 (DOS Central European):


cp852_bin

cp852_general_ci (значение по умолчанию)


Объединения keybcs2 (DOS Kamenicky Czech-Slovak):


keybcs2_bin

keybcs2_general_ci (значение по умолчанию)


Объединения latin2 (ISO 8859-2 Central European):


latin2_bin

latin2_croatian_ci

latin2_czech_cs

latin2_general_ci (значение по умолчанию)

latin2_hungarian_ci


Объединения macce (Mac Central European):


macce_bin

macce_general_ci (значение по умолчанию)

10.10.4. Южноевропейские и ближневосточные наборы символов

Южныоевропейские и ближневосточные наборы символов, обеспечиваемые MySQL, включают Armenian, Arabic, Georgian, Greek, Hebrew и Turkish.


Объединения armscii8 (ARMSCII-8 Armenian):


armscii8_bin

armscii8_general_ci (значение по умолчанию)


Объединения cp1256 (Windows Arabic):


cp1256_bin

cp1256_general_ci (значение по умолчанию)


Объединения geostd8 (GEOSTD8 Georgian):


geostd8_bin

geostd8_general_ci (значение по умолчанию)


Объединения greek (ISO 8859-7 Greek):


greek_bin

greek_general_ci (значение по умолчанию)


Объединения hebrew (ISO 8859-8 Hebrew):


hebrew_bin

hebrew_general_ci (значение по умолчанию)


Объединения latin5 (ISO 8859-9 Turkish):


latin5_bin

latin5_turkish_ci (значение по умолчанию)

10.10.5. Балтийские наборы символов

Балтийские наборы символов охватывают Estonian, Latvian и Lithuanian.


Объединения cp1257 (Windows Baltic):


cp1257_bin

cp1257_general_ci (значение по умолчанию)

cp1257_lithuanian_ci


Объединения latin7 (ISO 8859-13 Baltic):


latin7_bin

latin7_estonian_cs

latin7_general_ci (значение по умолчанию)

latin7_general_cs

10.10.6. Наборы символов кириллицы

Наборы символов и объединения кириллицы для использования с Belarusian, Bulgarian, Russian и Ukrainian.


Объединения cp1251 (Windows Cyrillic):


cp1251_bin

cp1251_bulgarian_ci

cp1251_general_ci (значение по умолчанию)

cp1251_general_cs

cp1251_ukrainian_ci


Объединения cp866 (DOS Russian):


cp866_bin

cp866_general_ci (значение по умолчанию)


Объединения koi8r (KOI8-R Relcom Russian):


koi8r_bin

koi8r_general_ci (значение по умолчанию)


Объединения koi8u (KOI8-U Ukrainian):


koi8u_bin

koi8u_general_ci (значение по умолчанию)

10.10.7. Азиатские наборы символов

Азиатские наборы символов, которые поддерживает пакет, включают Chinese, Japanese, Korean и Thai. Они могут быть усложнены. Например, китайские наборы должны учесть тысячи различных символов.


Объединения big5 (Big5 Traditional Chinese):


big5_bin

big5_chinese_ci (значение по умолчанию)


Объединения cp932 (SJIS for Windows Japanese):


cp932_bin

cp932_japanese_ci (значение по умолчанию)


Объединения eucjpms (UJIS for Windows Japanese):


eucjpms_bin

eucjpms_japanese_ci (значение по умолчанию)


Объединения euckr (EUC-KR Korean):


euckr_bin

euckr_korean_ci (значение по умолчанию)


Объединения gb2312 (GB2312 Simplified Chinese):


gb2312_bin

gb2312_chinese_ci (значение по умолчанию)


Объединения gbk (GBK Simplified Chinese):


gbk_bin

gbk_chinese_ci (значение по умолчанию)


Объединения sjis (Shift-JIS Japanese):


sjis_bin

sjis_japanese_ci (значение по умолчанию)


Объединения tis620 (TIS620 Thai):


tis620_bin

Перейти на страницу:

Похожие книги

C# 4.0: полное руководство
C# 4.0: полное руководство

В этом полном руководстве по C# 4.0 - языку программирования, разработанному специально для среды .NET, - детально рассмотрены все основные средства языка: типы данных, операторы, управляющие операторы, классы, интерфейсы, методы, делегаты, индексаторы, события, указатели, обобщения, коллекции, основные библиотеки классов, средства многопоточного программирования и директивы препроцессора. Подробно описаны новые возможности C#, в том числе PLINQ, библиотека TPL, динамический тип данных, а также именованные и необязательные аргументы. Это справочное пособие снабжено массой полезных советов авторитетного автора и сотнями примеров программ с комментариями, благодаря которым они становятся понятными любому читателю независимо от уровня его подготовки. Книга рассчитана на широкий круг читателей, интересующихся программированием на C#.Введите сюда краткую аннотацию

Герберт Шилдт

Программирование, программы, базы данных
C++ Primer Plus
C++ Primer Plus

C++ Primer Plus is a carefully crafted, complete tutorial on one of the most significant and widely used programming languages today. An accessible and easy-to-use self-study guide, this book is appropriate for both serious students of programming as well as developers already proficient in other languages.The sixth edition of C++ Primer Plus has been updated and expanded to cover the latest developments in C++, including a detailed look at the new C++11 standard.Author and educator Stephen Prata has created an introduction to C++ that is instructive, clear, and insightful. Fundamental programming concepts are explained along with details of the C++ language. Many short, practical examples illustrate just one or two concepts at a time, encouraging readers to master new topics by immediately putting them to use.Review questions and programming exercises at the end of each chapter help readers zero in on the most critical information and digest the most difficult concepts.In C++ Primer Plus, you'll find depth, breadth, and a variety of teaching techniques and tools to enhance your learning:• A new detailed chapter on the changes and additional capabilities introduced in the C++11 standard• Complete, integrated discussion of both basic C language and additional C++ features• Clear guidance about when and why to use a feature• Hands-on learning with concise and simple examples that develop your understanding a concept or two at a time• Hundreds of practical sample programs• Review questions and programming exercises at the end of each chapter to test your understanding• Coverage of generic C++ gives you the greatest possible flexibility• Teaches the ISO standard, including discussions of templates, the Standard Template Library, the string class, exceptions, RTTI, and namespaces

Стивен Прата

Программирование, программы, базы данных
Programming with POSIX® Threads
Programming with POSIX® Threads

With this practical book, you will attain a solid understanding of threads and will discover how to put this powerful mode of programming to work in real-world applications. The primary advantage of threaded programming is that it enables your applications to accomplish more than one task at the same time by using the number-crunching power of multiprocessor parallelism and by automatically exploiting I/O concurrency in your code, even on a single processor machine. The result: applications that are faster, more responsive to users, and often easier to maintain. Threaded programming is particularly well suited to network programming where it helps alleviate the bottleneck of slow network I/O. This book offers an in-depth description of the IEEE operating system interface standard, POSIX (Portable Operating System Interface) threads, commonly called Pthreads. Written for experienced C programmers, but assuming no previous knowledge of threads, the book explains basic concepts such as asynchronous programming, the lifecycle of a thread, and synchronization. You then move to more advanced topics such as attributes objects, thread-specific data, and realtime scheduling. An entire chapter is devoted to "real code," with a look at barriers, read/write locks, the work queue manager, and how to utilize existing libraries. In addition, the book tackles one of the thorniest problems faced by thread programmers-debugging-with valuable suggestions on how to avoid code errors and performance problems from the outset. Numerous annotated examples are used to illustrate real-world concepts. A Pthreads mini-reference and a look at future standardization are also included.

David Butenhof

Программирование, программы, базы данных