Re: Patch: Implements ToUnicode() on 9x/ME/2K/XP for windib and directx backends

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Patch: Implements ToUnicode() on 9x/ME/2K/XP for windib and directx backends

Ryan C. Gordon

 > 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.

 > 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
else?

--ryan.


_______________________________________________
SDL mailing list
[hidden email]
http://www.libsdl.org/mailman/listinfo/sdl
Reply | Threaded
Open this post in threaded view
|

Re: Patch: Implements ToUnicode() on 9x/ME/2K/XP for windib and directx backends

John Popplewell
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
> else?
>
The existing unicode support doesn't seem to support composed
characters, or at least it doesn't work on XFree86 4.3.0.1 or Xorg 6.8.2
that I have available here,

cheers,
John.

> --ryan.
>
>
> _______________________________________________
> SDL mailing list
> [hidden email]
> http://www.libsdl.org/mailman/listinfo/sdl
>

_______________________________________________
SDL mailing list
[hidden email]
http://www.libsdl.org/mailman/listinfo/sdl
Reply | Threaded
Open this post in threaded view
|

Re: Patch: Implements ToUnicode() on 9x/ME/2K/XP for windib and directx backends

slouken-2
In reply to this post by Ryan C. Gordon
The final version of your patch is in CVS, and you can preview it here:
http://www.libsdl.org/cvs/SDL.dll

Thanks!
        -Sam Lantinga, Senior Software Engineer, Blizzard Entertainment

_______________________________________________
SDL mailing list
[hidden email]
http://www.libsdl.org/mailman/listinfo/sdl