The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
Patch: Implements ToUnicode() on 9x/ME/2K/XP for windib and
Ryan C. Gordon
Guest

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

Quote:
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.
Patch: Implements ToUnicode() on 9x/ME/2K/XP for windib and
John Popplewell
Guest

On Sat, Jan 14, 2006 at 02:00:27AM -0500, Ryan C. Gordon wrote:
Quote:

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

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

Quote:
--ryan.


_______________________________________________
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
Patch: Implements ToUnicode() on 9x/ME/2K/XP for windib and
Sam Lantinga
Guest

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