Christoph Kies | 27 Aug 10:02

unicode

Hello everybody,

I just started to do some experiments with the gamu api.
I found the c-headers quite self-explantory - good work!

But I could not find much information, how to handle the unicode strings in c.

There ist a function for querying the lenght of a string, and I can compare 
two strings.

And of cause, there are a lot of functions to convert the encodings. 

But can I, for excample copy strings, or merge them whithout converting them 
before?

thank you

Christoph Kies

--

-- 
---------------------------------------
Christoph Kies

Lindenkamp 4
59469 Ense

E-Mail: mail <at> ckies.de

Mobil: 0179/ 5910 805
Festnetz: 02921/ 685 4637
(Continue reading)

Christoph Kies | 27 Aug 11:07

unicode (additions)

Am Mittwoch, 27. August 2008 10:05:03 schrieb Christoph Kies:
> But can I, for excample copy strings, or merge them whithout converting
> them before?

OK, meanwhile I found CopyUnicodeString().
But still i can not see how to write:

(char* firstame) + space + (char* secondname)
to char* completename.

--

-- 
---------------------------------------
Christoph Kies
E-Mail: mail <at> ckies.de
---------------------------------------

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users

Peter Stuge | 28 Aug 06:10

Re: unicode (additions)

Christoph Kies wrote:
> Am Mittwoch, 27. August 2008 10:05:03 schrieb Christoph Kies:
> > But can I, for excample copy strings, or merge them whithout converting
> > them before?
> 
> OK, meanwhile I found CopyUnicodeString().
> But still i can not see how to write:
> 
> (char* firstame) + space + (char* secondname)
> to char* completename.

One of two ways I guess;

1. build the string using non-unicode, then convert
2. build and convert each string independently, including the space,
   and finally concatenate them together

//Peter

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gammu-users mailing list - https://lists.sourceforge.net/lists/listinfo/gammu-users


Gmane