|
List Info
Thread: YAZ Internationalization support
|
|
| YAZ Internationalization support |
  Australia |
2007-03-27 19:40:15 |
|
Hi All,
I have a question regarding
the YAZ library 2.04.
We are currently adding Unicode
support to are existing code base which is responsible for retrieving
bibliographical records via Z39.50 severs using the YAZ library.
When we submit a query to YAZ
using foreign chars it dosnt seem to be returning MBCS so converting to unicode
fails.
Is their a flag or method in
the YAZ library that needs to be set for MBCS or Unicode support?
Kind regards
Newbie.
extern "C" int zeus_search (void *handle, bend_search_rr
*rr)
{
CCfgPrm * pCfgPrm = 0;
pSession->m_pCfgPrm =
pCfgPrm;
char * temp_query = (char*)
rr->query->u.type_1->RPNStructure->u.simple->u.attributesPlusTerm->term->u.general->buf;
wchar_t *szBuff=NULL;
int lenW;
lenW =
MultiByteToWideChar(CP_UTF8, 0, temp_query, -1, NULL, NULL);
if (lenW > 0)
{
szBuff=(wchar_t*)malloc(sizeof(wchar_t));
MultiByteToWideChar(CP_UTF8,
0, temp_query, -1, szBuff, lenW);
}
|
| YAZ Internationalization support |

|
2007-03-30 08:33:06 |
Michael Johnstone writes:
> CCfgPrm * pCfgPrm = 0;
> pSession->m_pCfgPrm = pCfgPrm;
Gezundheit!
_/|_
____________________________________________________________
_______
/o ) / Mike Taylor <mike indexdata.com> http://www.miketaylor.or
g.uk
)_v__/ "Can he fail, armed with his chocolate
surprise?" -- Genesis,
"Cinema Show"
_______________________________________________
Yazlist mailing list
Yazlist lists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
|
|
[1-2]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|