Question
How can i convert this
$langClarContent = > &# 1059.,ч.,и.,&# 1090.,&# 1077.,&# 1083.,Dokeos &# 1077., &# 1089.,&# 1080.,&# 1089.,&# 1090.,&# 1077.,&# 1084., &# 1079.,&# 1072., &# 1091.,&# 1087.,&# 1088.,&# 1072.,&# 1074.,&# 1091.,&# 1074.,&# 1072.,&# 1114.,е., &# 1089.,о., &# 1091.,&# 1095.,&# 1077.,&# 1114.,&# 1077., &# 1080., &# 1079.,&# 1085.,&# 1072.,е.,&# 1114.,&# 1077.,. &# 1058.,&# 1086.,&# 1112., &# 1080.,м., &# 1076.,&# 1086.,&# 1087.,&# 1091.,&# 1096.,&# 1090.,&# 1072., &# 1085.,&# 1072., у.,&# 1095
to an utf related answer like
$langClarContent = Учител Dokeos е систем за управување со учење и знаење. Тој им допушта на уч
Solution
Note.. Htmlspecialchar
only converts some of the characters.. if you want to convert all characters use: html_entity_decode
OTHER TIPS
Once you have that array properly formatted you can do something like this in PHP:
foreach ($langClarContent as $char){
echo htmlspecialchars_decode($char);
}