dinusha Posted November 17, 2021 Share Posted November 17, 2021 Hi i'm facing a issue in logs some IPA characters are note showing in logs properly. in the orders and other places "CORUÑA, A" showing correctly with "Ñ" letter but in logs it shows as "CORUNA, A" i have tried hook_transliterate$string = str_replace("\u00d1","Ñ",$string); and$string = str_replace("Ñ","Ñ",$string); in both ways it shows log as CORUÑA -> CORU/u00d1A then i tried$string_new = preg_replace('/[\]uU /', '&#x$1;', $string); return html_entity_decode($string_new, ENT_COMPAT, 'UTF-8'); but same issue here also CORUÑA -> CORU/u00d1A i tried this buy replacing random letter like$string = str_replace("Ñ","Z",$string); then it worked as expected CORUÑA -> CORUZA cloud you please help me to show these phonetic characters correctly in module logs 0 Quote Link to comment Share on other sites More sharing options...
MrGettingRatherFrustrated Posted November 29, 2021 Share Posted November 29, 2021 It could be the colation you have on the database, have a look at this https://stackoverflow.com/questions/14083847/accented-characters-in-mysql-table 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.