mysql上的数学和特殊字符

时间:2014-05-30 20:54:45

标签: mysql

我需要我的mysql数据库接受如下字符:

≈ ≅ ≆ ≠ ⊂ ⊃ ⊄ ⊅ ⊆ ⊇ ⊈ ⊉ ⋅ ∥ ∣ √ ∛ ∜ ∞ ∓ ± ∑ ∌ ∋ ∈ ∉ ∅ ∃ ∄ ∀ ∁ ∩ ∪ ⁰ ¹ ² ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹ ⁿ ⁺ ⁻ ⁼ ⁽ ⁾ 
₀ ₁ ₂ ₃ ₄ ₅ ₆ ₇ ₈ ₉ ₊ ₋ ₌ ₍ ₎ → ← ↔ ↚ ↛ ⇆ ⇋ ⇌ Γ Δ Θ Λ  Π Φ Ω α β γ  δ ε η θ λ μ ℳ π ρ σ τ φ  Ϙ ϙ Ϝ ϝ Ϻ ϻ ϼ Τ

有人知道如何实现它吗?

[编辑]:我尝试使用UTF-8:

ALTER SCHEMA `acessoed_portal_student` DEFAULT CHARACTER SET utf8 
   COLLATE utf8_general_ci;

ALTER TABLE  `question` DEFAULT CHARACTER SET utf8 
  COLLATE utf8_general_ci;

 ALTER TABLE  `question` CHANGE `description` `description`
  TEXT CHARACTER SET utf8 COLLATE utf8_general_ci;

ALTER TABLE  `question_response` DEFAULT CHARACTER SET utf8 
  COLLATE utf8_general_ci; 

ALTER TABLE  `question_response` CHANGE `description_response` `description_response`
  TEXT CHARACTER SET utf8 COLLATE utf8_general_ci;

1 个答案:

答案 0 :(得分:0)

html编码怎么样?您可以使用相应的转义序列编写符号例如∞是无限符号。