Ugly unicode text

A couple of days ago, I worked with an ugly unicode text, kind of like this:</p> ⒶⓀⓋⓉⒺb̼̘̬ͭ͂̈́̀l͇͉̱͚̲̗̗͞a̱̭̬͎͉̤ͨ͂̌̑̓͂͐h̬̯̻̩͗ͩͯḅ̢̬͕͈̥̅̌͆̔̉ͅḽ̘̖̼͚́͒̈́̏͌̃͟ ͎̮̫̍ͫ̽͐͋ͤ͂a̜͔̩͇̩̪͐̍̐̃ͤ͑ ̦̌ḧ̙̝͓̜͕̝̈́ͅb̛̞͔̽̃̍ͪla̘̠͖͍̣͙̝͌ͪ͒̃ͯ ͗͛̆͊.̛̭̜̞̲͓̯ͧ̅ĥ͂͑/̢̊/̠̘͖͖̖̺̯</pre>And I need to get a normal text from this shit, …

Continuar lendo

Ordem por enum no mysql

Considere que você tem o seguinte campo enum em uma tabela mysql. my_enum_field enum(‘default’,’c’, ‘a’, ‘b’) Consultando a tabela como o seguinte: SELECT * FROM my_table ORDER BY my_enum_field ASC; …

Continuar lendo