 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
newcreat
Joined: 24 Apr 2006 Posts: 5
|
Posted: Tue Apr 25, 2006 2:29 pm Post subject: help how to use iconv.h in pspsdk |
|
|
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 |
|
 |
Ghozt
Joined: 13 Mar 2006 Posts: 34
|
Posted: Tue Apr 25, 2006 11:18 pm Post subject: |
|
|
| 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 |
|
 |
newcreat
Joined: 24 Apr 2006 Posts: 5
|
Posted: Wed Apr 26, 2006 7:37 pm Post subject: |
|
|
| 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 |
|
 |
|
|
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
|