LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 16
Thumbs up 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

Last edited by naveenisback; 06-17-2009 at 07:32 AM. Reason: my question was not understandable
 
Old 06-16-2009, 05:50 AM   #2
colucix
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, 08:18 AM   #3
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by naveenisback View Post
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
 
  


Reply


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 04:18 PM
KDE 3.5.1 Konstruct has problems finding necessary header files JcN Linux - Newbie 2 02-06-2006 03:57 PM
finding out TCP header details at socket level hari121 Linux - Networking 0 10-25-2005 01:54 AM
Create header file for existing .c file hk_michael Programming 5 02-25-2005 05:26 PM
./configure not finding header files mikeyt_333 Linux - Software 5 06-30-2004 06:09 PM


All times are GMT -5. The time now is 12:12 AM.

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