Re: Patch: Implements ToUnicode() on 9x/ME/2K/XP for windib and directx backends
On Sat, Jan 14, 2006 at 02:00:27AM -0500, Ryan C. Gordon wrote:
> > I'm hoping that it's possible for this to be applied to CVS,
> Can you take a look at the patch here...
> https://bugzilla.libsdl.org/show_bug.cgi?id=39 >
> ...and see if your's is better. I'd like to get one of these into CVS.
> Alex, please chime in, too.
I hadn't seen that :-) They are very similar, but mine returns Unicode
characters correctly on win9x as well as on NT platforms. I like the
one-off platform detection, and it would be possible to change my patch
to detect keyboard mapping changes and thereby do minimal code-page
determinations using WM_INPUTLANGCHANGE.
The patch also includes a couple of unrelated win9x windib fixes.
> > P.S. I'm looking at a patch for X11 and have something that nearly
> > works :-)
> There's Unicode input support for X11 in CVS already; is this something
The existing unicode support doesn't seem to support composed
characters, or at least it doesn't work on XFree86 18.104.22.168 or Xorg 6.8.2
that I have available here,