package mysql_protocol

  1. Overview
  2. Docs

Available charset and collation.

type charset_name =
  1. | Armscii8
  2. | Ascii
  3. | Big5
  4. | Binary_charset
  5. | Cp1250
  6. | Cp1251
  7. | Cp1256
  8. | Cp1257
  9. | Cp850
  10. | Cp852
  11. | Cp866
  12. | Cp932
  13. | Dec8
  14. | Eucjpms
  15. | Euckr
  16. | Gb2312
  17. | Gbk
  18. | Geostd8
  19. | Greek
  20. | Hebrew
  21. | Hp8
  22. | Keybcs2
  23. | Koi8r
  24. | Koi8u
  25. | Latin1
  26. | Latin2
  27. | Latin5
  28. | Latin7
  29. | Macce
  30. | Macroman
  31. | Sjis
  32. | Swe7
  33. | Tis620
  34. | Ucs2
  35. | Ujis
  36. | Utf16
  37. | Utf16le
  38. | Utf32
  39. | Utf8
  40. | Utf8mb4
type collation_name =
  1. | Armscii8_bin
  2. | Armscii8_general_ci
  3. | Armscii8_general_nopad_ci
  4. | Armscii8_nopad_bin
  5. | Ascii_bin
  6. | Ascii_general_ci
  7. | Ascii_general_nopad_ci
  8. | Ascii_nopad_bin
  9. | Big5_bin
  10. | Big5_chinese_ci
  11. | Big5_chinese_nopad_ci
  12. | Big5_nopad_bin
  13. | Binary_collation
  14. | Cp1250_bin
  15. | Cp1250_croatian_ci
  16. | Cp1250_czech_cs
  17. | Cp1250_general_ci
  18. | Cp1250_general_nopad_ci
  19. | Cp1250_nopad_bin
  20. | Cp1250_polish_ci
  21. | Cp1251_bin
  22. | Cp1251_bulgarian_ci
  23. | Cp1251_general_ci
  24. | Cp1251_general_cs
  25. | Cp1251_general_nopad_ci
  26. | Cp1251_nopad_bin
  27. | Cp1251_ukrainian_ci
  28. | Cp1256_bin
  29. | Cp1256_general_ci
  30. | Cp1256_general_nopad_ci
  31. | Cp1256_nopad_bin
  32. | Cp1257_bin
  33. | Cp1257_general_ci
  34. | Cp1257_general_nopad_ci
  35. | Cp1257_lithuanian_ci
  36. | Cp1257_nopad_bin
  37. | Cp850_bin
  38. | Cp850_general_ci
  39. | Cp850_general_nopad_ci
  40. | Cp850_nopad_bin
  41. | Cp852_bin
  42. | Cp852_general_ci
  43. | Cp852_general_nopad_ci
  44. | Cp852_nopad_bin
  45. | Cp866_bin
  46. | Cp866_general_ci
  47. | Cp866_general_nopad_ci
  48. | Cp866_nopad_bin
  49. | Cp932_bin
  50. | Cp932_japanese_ci
  51. | Cp932_japanese_nopad_ci
  52. | Cp932_nopad_bin
  53. | Dec8_bin
  54. | Dec8_nopad_bin
  55. | Dec8_swedish_ci
  56. | Dec8_swedish_nopad_ci
  57. | Eucjpms_bin
  58. | Eucjpms_japanese_ci
  59. | Eucjpms_japanese_nopad_ci
  60. | Eucjpms_nopad_bin
  61. | Euckr_bin
  62. | Euckr_korean_ci
  63. | Euckr_korean_nopad_ci
  64. | Euckr_nopad_bin
  65. | Gb2312_bin
  66. | Gb2312_chinese_ci
  67. | Gb2312_chinese_nopad_ci
  68. | Gb2312_nopad_bin
  69. | Gbk_bin
  70. | Gbk_chinese_ci
  71. | Gbk_chinese_nopad_ci
  72. | Gbk_nopad_bin
  73. | Geostd8_bin
  74. | Geostd8_general_ci
  75. | Geostd8_general_nopad_ci
  76. | Geostd8_nopad_bin
  77. | Greek_bin
  78. | Greek_general_ci
  79. | Greek_general_nopad_ci
  80. | Greek_nopad_bin
  81. | Hebrew_bin
  82. | Hebrew_general_ci
  83. | Hebrew_general_nopad_ci
  84. | Hebrew_nopad_bin
  85. | Hp8_bin
  86. | Hp8_english_ci
  87. | Hp8_english_nopad_ci
  88. | Hp8_nopad_bin
  89. | Keybcs2_bin
  90. | Keybcs2_general_ci
  91. | Keybcs2_general_nopad_ci
  92. | Keybcs2_nopad_bin
  93. | Koi8r_bin
  94. | Koi8r_general_ci
  95. | Koi8r_general_nopad_ci
  96. | Koi8r_nopad_bin
  97. | Koi8u_bin
  98. | Koi8u_general_ci
  99. | Koi8u_general_nopad_ci
  100. | Koi8u_nopad_bin
  101. | Latin1_bin
  102. | Latin1_danish_ci
  103. | Latin1_general_ci
  104. | Latin1_general_cs
  105. | Latin1_german1_ci
  106. | Latin1_german2_ci
  107. | Latin1_nopad_bin
  108. | Latin1_spanish_ci
  109. | Latin1_swedish_ci
  110. | Latin1_swedish_nopad_ci
  111. | Latin2_bin
  112. | Latin2_croatian_ci
  113. | Latin2_czech_cs
  114. | Latin2_general_ci
  115. | Latin2_general_nopad_ci
  116. | Latin2_hungarian_ci
  117. | Latin2_nopad_bin
  118. | Latin5_bin
  119. | Latin5_nopad_bin
  120. | Latin5_turkish_ci
  121. | Latin5_turkish_nopad_ci
  122. | Latin7_bin
  123. | Latin7_estonian_cs
  124. | Latin7_general_ci
  125. | Latin7_general_cs
  126. | Latin7_general_nopad_ci
  127. | Latin7_nopad_bin
  128. | Macce_bin
  129. | Macce_general_ci
  130. | Macce_general_nopad_ci
  131. | Macce_nopad_bin
  132. | Macroman_bin
  133. | Macroman_general_ci
  134. | Macroman_general_nopad_ci
  135. | Macroman_nopad_bin
  136. | Sjis_bin
  137. | Sjis_japanese_ci
  138. | Sjis_japanese_nopad_ci
  139. | Sjis_nopad_bin
  140. | Swe7_bin
  141. | Swe7_nopad_bin
  142. | Swe7_swedish_ci
  143. | Swe7_swedish_nopad_ci
  144. | Tis620_bin
  145. | Tis620_nopad_bin
  146. | Tis620_thai_ci
  147. | Tis620_thai_nopad_ci
  148. | Ucs2_bin
  149. | Ucs2_croatian_ci
  150. | Ucs2_croatian_mysql561_ci
  151. | Ucs2_czech_ci
  152. | Ucs2_danish_ci
  153. | Ucs2_esperanto_ci
  154. | Ucs2_estonian_ci
  155. | Ucs2_general_ci
  156. | Ucs2_general_mysql500_ci
  157. | Ucs2_general_nopad_ci
  158. | Ucs2_german2_ci
  159. | Ucs2_hungarian_ci
  160. | Ucs2_icelandic_ci
  161. | Ucs2_latvian_ci
  162. | Ucs2_lithuanian_ci
  163. | Ucs2_myanmar_ci
  164. | Ucs2_nopad_bin
  165. | Ucs2_persian_ci
  166. | Ucs2_polish_ci
  167. | Ucs2_romanian_ci
  168. | Ucs2_roman_ci
  169. | Ucs2_sinhala_ci
  170. | Ucs2_slovak_ci
  171. | Ucs2_slovenian_ci
  172. | Ucs2_spanish2_ci
  173. | Ucs2_spanish_ci
  174. | Ucs2_swedish_ci
  175. | Ucs2_thai_520_w2
  176. | Ucs2_turkish_ci
  177. | Ucs2_unicode_520_ci
  178. | Ucs2_unicode_520_nopad_ci
  179. | Ucs2_unicode_ci
  180. | Ucs2_unicode_nopad_ci
  181. | Ucs2_vietnamese_ci
  182. | Ujis_bin
  183. | Ujis_japanese_ci
  184. | Ujis_japanese_nopad_ci
  185. | Ujis_nopad_bin
  186. | Utf16le_bin
  187. | Utf16le_general_ci
  188. | Utf16le_general_nopad_ci
  189. | Utf16le_nopad_bin
  190. | Utf16_bin
  191. | Utf16_croatian_ci
  192. | Utf16_croatian_mysql561_ci
  193. | Utf16_czech_ci
  194. | Utf16_danish_ci
  195. | Utf16_esperanto_ci
  196. | Utf16_estonian_ci
  197. | Utf16_general_ci
  198. | Utf16_general_nopad_ci
  199. | Utf16_german2_ci
  200. | Utf16_hungarian_ci
  201. | Utf16_icelandic_ci
  202. | Utf16_latvian_ci
  203. | Utf16_lithuanian_ci
  204. | Utf16_myanmar_ci
  205. | Utf16_nopad_bin
  206. | Utf16_persian_ci
  207. | Utf16_polish_ci
  208. | Utf16_romanian_ci
  209. | Utf16_roman_ci
  210. | Utf16_sinhala_ci
  211. | Utf16_slovak_ci
  212. | Utf16_slovenian_ci
  213. | Utf16_spanish2_ci
  214. | Utf16_spanish_ci
  215. | Utf16_swedish_ci
  216. | Utf16_thai_520_w2
  217. | Utf16_turkish_ci
  218. | Utf16_unicode_520_ci
  219. | Utf16_unicode_520_nopad_ci
  220. | Utf16_unicode_ci
  221. | Utf16_unicode_nopad_ci
  222. | Utf16_vietnamese_ci
  223. | Utf32_bin
  224. | Utf32_croatian_ci
  225. | Utf32_croatian_mysql561_ci
  226. | Utf32_czech_ci
  227. | Utf32_danish_ci
  228. | Utf32_esperanto_ci
  229. | Utf32_estonian_ci
  230. | Utf32_general_ci
  231. | Utf32_general_nopad_ci
  232. | Utf32_german2_ci
  233. | Utf32_hungarian_ci
  234. | Utf32_icelandic_ci
  235. | Utf32_latvian_ci
  236. | Utf32_lithuanian_ci
  237. | Utf32_myanmar_ci
  238. | Utf32_nopad_bin
  239. | Utf32_persian_ci
  240. | Utf32_polish_ci
  241. | Utf32_romanian_ci
  242. | Utf32_roman_ci
  243. | Utf32_sinhala_ci
  244. | Utf32_slovak_ci
  245. | Utf32_slovenian_ci
  246. | Utf32_spanish2_ci
  247. | Utf32_spanish_ci
  248. | Utf32_swedish_ci
  249. | Utf32_thai_520_w2
  250. | Utf32_turkish_ci
  251. | Utf32_unicode_520_ci
  252. | Utf32_unicode_520_nopad_ci
  253. | Utf32_unicode_ci
  254. | Utf32_unicode_nopad_ci
  255. | Utf32_vietnamese_ci
  256. | Utf8mb4_bin
  257. | Utf8mb4_croatian_ci
  258. | Utf8mb4_croatian_mysql561_ci
  259. | Utf8mb4_czech_ci
  260. | Utf8mb4_danish_ci
  261. | Utf8mb4_esperanto_ci
  262. | Utf8mb4_estonian_ci
  263. | Utf8mb4_general_ci
  264. | Utf8mb4_general_nopad_ci
  265. | Utf8mb4_german2_ci
  266. | Utf8mb4_hungarian_ci
  267. | Utf8mb4_icelandic_ci
  268. | Utf8mb4_latvian_ci
  269. | Utf8mb4_lithuanian_ci
  270. | Utf8mb4_myanmar_ci
  271. | Utf8mb4_nopad_bin
  272. | Utf8mb4_persian_ci
  273. | Utf8mb4_polish_ci
  274. | Utf8mb4_romanian_ci
  275. | Utf8mb4_roman_ci
  276. | Utf8mb4_sinhala_ci
  277. | Utf8mb4_slovak_ci
  278. | Utf8mb4_slovenian_ci
  279. | Utf8mb4_spanish2_ci
  280. | Utf8mb4_spanish_ci
  281. | Utf8mb4_swedish_ci
  282. | Utf8mb4_thai_520_w2
  283. | Utf8mb4_turkish_ci
  284. | Utf8mb4_unicode_520_ci
  285. | Utf8mb4_unicode_520_nopad_ci
  286. | Utf8mb4_unicode_ci
  287. | Utf8mb4_unicode_nopad_ci
  288. | Utf8mb4_vietnamese_ci
  289. | Utf8_bin
  290. | Utf8_croatian_ci
  291. | Utf8_croatian_mysql561_ci
  292. | Utf8_czech_ci
  293. | Utf8_danish_ci
  294. | Utf8_esperanto_ci
  295. | Utf8_estonian_ci
  296. | Utf8_general_ci
  297. | Utf8_general_mysql500_ci
  298. | Utf8_general_nopad_ci
  299. | Utf8_german2_ci
  300. | Utf8_hungarian_ci
  301. | Utf8_icelandic_ci
  302. | Utf8_latvian_ci
  303. | Utf8_lithuanian_ci
  304. | Utf8_myanmar_ci
  305. | Utf8_nopad_bin
  306. | Utf8_persian_ci
  307. | Utf8_polish_ci
  308. | Utf8_romanian_ci
  309. | Utf8_roman_ci
  310. | Utf8_sinhala_ci
  311. | Utf8_slovak_ci
  312. | Utf8_slovenian_ci
  313. | Utf8_spanish2_ci
  314. | Utf8_spanish_ci
  315. | Utf8_swedish_ci
  316. | Utf8_thai_520_w2
  317. | Utf8_turkish_ci
  318. | Utf8_unicode_520_ci
  319. | Utf8_unicode_520_nopad_ci
  320. | Utf8_unicode_ci
  321. | Utf8_unicode_nopad_ci
  322. | Utf8_vietnamese_ci
type charset = charset_name * collation_name
val charset_name_to_string : charset_name -> string
val collation_name_to_string : collation_name -> string
val charset_to_string : (charset_name * collation_name) -> string
val charset_number : (charset_name * collation_name) -> int
val number_charset : int -> charset_name * collation_name
OCaml

Innovation. Community. Security.