A simple method for removing accents from strings in PHP:
1 2 | $x = strtr($x, "ŠŒŽšœžŸ¥µÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýÿ", "SOZsozYYuAAAAAAACEEEEIIIIDNOOOOOOUUUUYsaaaaaaaceeeeiiiionoooooouuuuyy"); |
|
|||||
Removing accents from strings in PHPA simple method for removing accents from strings in PHP:
3 comments to Removing accents from strings in PHP |
|||||
|
Copyright © 2012 Need code for … - All Rights Reserved |
|||||
Hi, SID! How did you manage to fix Facebook Like plugin issue with Atahualpa theme? When I enable Facebook Like plugin with Atahualpa theme, I get Like button displayed in the header and the post. I looked at your old comment on the plugin site mentioning the same issue. When I checked out site now, I notice that the issue is now gone. What did you do to get it working? I would appreciate if you can share it. Thanks!
I fixed it last year and I’ll be damned if I remember what I did. I’m looking at the files and none of them seems modified by hand in that period, so I guess I just tinkered with the settings until it worked. I’ll post back after I dig a bit more or if I remember what I did then.
Thanks, Sid! I’ll check back later to see if you remembered