Jon
Wed Oct 22 10:49:56 CDT 2003
Anthony Boudouvas <anthonyb@mediatrel.com> wrote:
>
> > Right. In that case you need to find out *exactly* what kind of string
> > it's expecting - what does the API say? Is the API online anywhere for
> > us to look at it? I see there are various downloadable documents for it
> > - what version are you using?
>
> I am using the Nokia PC Connectivity SDK 3.0 and the documents with it
> described the function that we need to call to send sms but does not
> particularly says what implications may be stand up with non-english
> characters...
Which function are you using? How *exactly* is it described? How are
you calling it? (If you're using P/Invoke, please show the function
delcaration.)
If you're using UserDataText, have you also set UserDataFormat to
UNICODE_16_BIT before setting UserDataText? I'm not entirely sure what
the DATA_8_BIT setting is for, but I think I'd use Unicode just for
sure. Note that that means the SMS can only be half as long.
> > That's not good - you're basically converting a string to another
> > string, which is very unlikely to do what you want. If you can pass a
> > string into the SDK, then encodings don't come into it (on your side).
>
> I somehow try to pass the phone a string that it will like,
> ana apparently, this it was my first attemp to achiev that.
> I also saw that for example the Greek L "?" is reported by windows
> as ascii 923...
I'm sure it's not, as ASCII 923 doesn't exist - ASCII only goes from 0
to 127. Where are you getting that number from?
> I am working on it to find a solution in this direction now...
>
> Can you think of something on it ?
>
> A, i appreciate a lot your effort to help me Jon,
> a sincerely Thanks a Lot!
No problem.
--
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too