Re: Fix 3 bugs in locale handling