unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Lisp_String to LPWSTR
@ 2009-10-02 21:59 Eugen Anghel
  2009-10-03  8:35 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Eugen Anghel @ 2009-10-02 21:59 UTC (permalink / raw)
  To: emacs-devel

Hi,

What would be the best way to convert from a Lisp_String* to an UTF-16
encoded string?

I've tried something like
code_convert_string_norecord(mystring, Qutf_16, 0)
but that doesn't seem to do what I want.

I'm trying to work on this (from etc/TODO):
** Switch the Windows port to using Unicode keyboard input (maybe).
and I need to convert strings before passing them to W-variant winapi functions.

Thanks, Eugen




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-10-03 11:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-02 21:59 Lisp_String to LPWSTR Eugen Anghel
2009-10-03  8:35 ` Eli Zaretskii
2009-10-03 10:50   ` Eugen Anghel
2009-10-03 11:23     ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).