Unicode characters in array string items


When I create an array with string items that contains unicode characters, the code cannot be submitted.

$friends = array('Kārlis', 'Pēteris', 'Jānis');  // Does not work
$friends = array('Karlis', 'Peteris', 'Janis');  // Works


Evidently a Unicode problem that requires additional syntax.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.