That's a big one indeed. I'm currently running a small private IRC server (~50 users) for local community speaking Thai; the best solution I found for encoding issue is to force everyone to use Unicode. However, this is a really hard thing to do, as most do not see benefit over whatever they're using (tis620 in my case) or benefit over upgrading their dated client.
I fear that cannot be fixed in a backwards-compatible way.