Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-16-2009, 06:43 AM   #1
Registered: Jun 2009
Posts: 80
Blog Entries: 1

Rep: Reputation: 16
Thumbs up I am not finding stringprep.h header file


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

Last edited by naveenisback; 06-17-2009 at 08:32 AM. Reason: my question was not understandable
Old 06-16-2009, 06:50 AM   #2
LQ Guru
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
Go to the ubuntu packages site and look for stringprep.h under the section "Search the contents of packages". It returns libidn11-dev.
Old 06-16-2009, 09:18 AM   #3
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Originally Posted by naveenisback View Post

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:
In this case, stringprep.h is in the libidn11-dev package.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
header file saadiaomar Programming 4 03-23-2006 05:18 PM
KDE 3.5.1 Konstruct has problems finding necessary header files JcN Linux - Newbie 2 02-06-2006 04:57 PM
finding out TCP header details at socket level hari121 Linux - Networking 0 10-25-2005 02:54 AM
Create header file for existing .c file hk_michael Programming 5 02-25-2005 06:26 PM
./configure not finding header files mikeyt_333 Linux - Software 5 06-30-2004 07:09 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:01 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration