LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I am not finding stringprep.h header file (https://www.linuxquestions.org/questions/linux-newbie-8/i-am-not-finding-stringprep-h-header-file-733301/)

naveenisback 06-16-2009 05:43 AM

I am not finding stringprep.h header file
 
hi..

i am new one to ubuntu.. I am communicating between ubuntu and windows. server program is running in ubuntu in C language, and client program is running in windows in vc++. im sending and receiving buffer of wchar_t * buff type.. when im trying to print the data in client side, only 1st character is receiving.. for example im sending wchar_t* []={L"hello world"} from server. when i recieved it in client it s showing that h0l0l0o0''0w0o0r0l0d0.. when i try to print it only h is printing in output console.. pls help me to solve this.. this is a challenge to whole group.. pls

colucix 06-16-2009 05:50 AM

Go to the ubuntu packages site and look for stringprep.h under the section "Search the contents of packages". It returns libidn11-dev.

jdkaye 06-16-2009 08:18 AM

Quote:

Originally Posted by naveenisback (Post 3575692)
hi..

i am new one to ubuntu.. i want to convert ascii string to utf8 string. i came to know we can use stringprep_unichar_to_utf8()function call.. but if i include stringprep.h file, im getting error like this :error: stringprep.h: No such file or directory

when i do find . -name stringprep.h it shows nothing.


pls help me to solve this problem.. i wasted 3 days for this.. my HR is scolding for this

You can always search for package contents on the Debian Package site:
http://packages.debian.org/
In this case, stringprep.h is in the libidn11-dev package.
cheers,
jdk


All times are GMT -5. The time now is 07:53 PM.