<div dir="ltr">Again, thanks heaps for answering these newbie questions, that works. <div>What I think I have found is that while <font color="#4c1130">html_entity_decode('&#274;')</font> gives "<font color="#4c1130">Ē</font>"</div><div><font color="#4c1130">htmlentities ("Ē") </font>doesn't convert Ē back to 

&#274;</div><div><br></div><div>Simon</div><div><br><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 18 Oct 2022 at 19:18, Petko Yotov <<a href="mailto:5ko@5ko.fr">5ko@5ko.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">You can use mb_strtolower():<br>
<br>
   <a href="https://php.net/mb_strtolower" rel="noreferrer" target="_blank">https://php.net/mb_strtolower</a><br>
<br>
Here is an example from the PHP interactive shell:<br>
<br>
   php > $str = "e.g. Ā to ā, Ê to ê, Į to į, etc";<br>
   php > print_r(mb_strtolower($str));<br>
   e.g. ā to ā, ê to ê, į to į, etc<br>
   php > print_r(mb_strtoupper($str));<br>
   E.G. Ā TO Ā, Ê TO Ê, Į TO Į, ETC<br>
<br>
Petko<br>
<br>
-- <br>
If you upgrade :  <a href="https://www.pmwiki.org/Upgrades" rel="noreferrer" target="_blank">https://www.pmwiki.org/Upgrades</a><br>
<br>
<br>
On 18/10/2022 06:46, Simon wrote:<br>
> Can anyone suggest a means of converting diacritic [1]characters to<br>
> lower case,<br>
> e.g. Ā to ā, Ê to ê, Į to į, etc<br>
> other than creating a translation table?<br>
> <br>
> thanks<br>
> <br>
> Simon<br>
> <br>
> <br>
> <br>
> Links:<br>
> ------<br>
> [1] <a href="https://en.wikipedia.org/wiki/Diacritic" rel="noreferrer" target="_blank">https://en.wikipedia.org/wiki/Diacritic</a><br>
> _______________________________________________<br>
> pmwiki-devel mailing list<br>
> <a href="mailto:pmwiki-devel@pmichaud.com" target="_blank">pmwiki-devel@pmichaud.com</a><br>
> <a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-devel" rel="noreferrer" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-devel</a><br>
</blockquote></div>