We have the variable $ text = "Tru-la-la"; How to convert this variable to UTF-8. I mean, the text of this variable becomes in UTF-8. Please tell me how to do it.
iconv
iconv("ΠΊΠ°ΠΊΠ°Ρ-ΡΠ°ΠΌ-Π²Π°ΡΠ°-ΠΈΡΡ ΠΎΠ΄Π½Π°Ρ-ΠΊΠΎΠ΄ΠΈΡΠΎΠ²ΠΊΠ°", "UTF-8", $text)
Source: https://ru.stackoverflow.com/questions/87159/More articles:Error Handling in GoHow to hide EditText when focus is lost?25/100 = 0, Why?print <<< HERE HERE; Why do we need a function.How to make bread crumbs on php?Managed type to unmanaged typeId for user [closed]Traffic flow collector for MikrotikC # file access access [closed]How to determine IP in VB.Net?All Articles