AnsweredAssumed Answered

PHP API: Problem with umlauts in field names

Question asked by mbraendle on Jan 4, 2012
Latest reply on Jan 13, 2012 by blassl



it seems that the PHP API getField() function has problems if the field name contains umlauts.




$record->getField('SemesterTyp_Kürzel') does not work and yields an empty value.

print_r($record->getFields()) correctly displays the field names, also those with umlauts.

$record->getField('SemesterTyp_Kuerzel') works (after having renamed the field in the DB table accordingly).

Is this problem known? I haven't found anything in the KB or in the PHP API documentation.


Or is this due to the fact that PHP 5.x is still not fully UTF-8 compliant?


(CWP with XML/XSLT never had this problem.)


Best regards,