Why do you need that ? You dont need provide L" ".

On Fri, Nov 13, 2009 at 2:15 PM, Latha Shivanna <latha...@gmail.com> wrote:

> Hii All
>
>
> Does anybody know about the behavoir of Android’s compiler for target
> on wide strings like  L”string” ??
>
> I have a piece of code like this:
>
> Unsigned short* TESTWSTRING[] =
>    {
>        L".jpg”, L”.txt”
>    };
>
> Will TESTWSTRING[0] & TESTWSTRING[1] be widestrings ?
>
> In Win32, memory used by TESTWSTRING[0] is 5x2 bytes(inclusive of null
> termination). But in Android this is not the case. So wondering
> whether prepending “L” to a string is valid in Android or not?
>
> Can someone please explain this difference in behavior?
>
> Please do advise.
>
> thanks,
> Latha.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
...Swapnil

|| Hare Krishna Hare Krishna Krishna Krishna Hare Hare ||
|| Hare Rama    Hare Rama   Rama   Rama    Hare Hare ||

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to