forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

help how to use iconv.h in pspsdk

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
newcreat



Joined: 24 Apr 2006
Posts: 5

PostPosted: Tue Apr 25, 2006 2:29 pm    Post subject: help how to use iconv.h in pspsdk Reply with quote

i find the pspsdk has iconv.h but i found there is no lib to link.
i wonder how to use it ,thx
the iconv.h locale in ../psp/include/

Code:
#ifndef _ICONV_H_
#define _ICONV_H_

#include <_ansi.h>
#include <reent.h>
#include <sys/types.h>
#include <sys/_types.h>

/* iconv_t: charset conversion descriptor type */
typedef _iconv_t iconv_t;

_BEGIN_STD_C

#ifndef _REENT_ONLY
iconv_t
_EXFUN(iconv_open, (_CONST char *, _CONST char *));

size_t
_EXFUN(iconv, (iconv_t, _CONST char **, size_t *, char **, size_t *));

int
_EXFUN(iconv_close, (iconv_t));
#endif

iconv_t
_EXFUN(_iconv_open_r, (struct _reent *, _CONST char *, _CONST char *));

size_t
_EXFUN(_iconv_r, (struct _reent *, iconv_t, _CONST char **,
                  size_t *, char **, size_t *));

int
_EXFUN(_iconv_close_r, (struct _reent *, iconv_t));

_END_STD_C

#endif /* #ifndef _ICONV_H_ */
Back to top
View user's profile Send private message
Ghozt



Joined: 13 Mar 2006
Posts: 34

PostPosted: Tue Apr 25, 2006 11:18 pm    Post subject: Reply with quote

I don't know if this will help or anything but my iconv.h is located i c:/cygwin/usr/include, not psp/include.
Back to top
View user's profile Send private message
newcreat



Joined: 24 Apr 2006
Posts: 5

PostPosted: Wed Apr 26, 2006 7:37 pm    Post subject: Reply with quote

Ghozt wrote:
I don't know if this will help or anything but my iconv.h is located i c:/cygwin/usr/include, not psp/include.

I see, thank you.
I find another way to translate unicode ,I use some codes in libiconv
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group