Hey Roshan, this is not really an answer to your given question, but an alternate way of unicode use: #include <stdio.h> #include <stddef.h> int main() { wchar_t *wstr = L"Maaaaan"; wprintf(L"Andi: %ls\n", wstr); wprintf(L"%u\n", sizeof(wchar_t)); } The wchar_t type is usually 4 bytes long, but I do not know if it is possible to get UTF16. You could also check this page: http://kfsone.wordpress.com/2008/08/26/unicode-literals-and-gcc/ Best regards, Andre-Marcel Pinto, Roshan wrote: > Hi, > > From the link > http://blogs.oracle.com/ezannoni/2008/04/utf16_and_utf32_support_in_gcc.html > it can be seen that the support has been for gcc to support the utf_16 and utf_32. > > > My OS is: > -------------------------------------------------------- > vm-lnx-rds160:/usr/include # cat /proc/version > Linux version 2.6.27.19-5-default (geeko@buildhost) (gcc version 4.3.2 [gcc-4_3-branch revision 141291] (SUSE Linux) ) #1 SMP 2009-02-28 04:40:21 +0100 > --------------------------------------------------------- > > GCC compiler is: > ---------------------------------- > gcc version 4.3.2 [gcc-4_3-branch revision 141291] (SUSE Linux) > ---------------------------------- > > But while compiling the program it gives me error if I use the u"" literals. > I wanted to know in which GNU compiler version this support is given. > > > Thanks in advance, > ~ roshan > >