List Info

Thread: YAZ character conversion




YAZ character conversion
user name
2006-11-21 22:16:43
At 03:56 PM 11/21/2006, you wrote:
>David,
>I am interested in using the portions of YAZ relating to

>MARC-8/UTF-8 character conversion.  Does the YAZ library
rely on the 
>XML conversion file provided by the Library of Congress?
>
>Regards
>Gary L. Anderson

Gary,

Your question is over my head, so I a forwarding it to the
YAZ list 
where there are likely to be people who can answer it.

David





David Dorman
US Marketing Manager, Index Data
52 Whitman Ave.
West Hartford, Connecticut  06107
dormanindexdata.com
860-389-1568 or toll free 866-489-1568
fax: 860-561-5613

INDEX DATA Means Business
for Open Source and Open Standards
- - - - - - - - - - - - - - -
www.indexdata.com



_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
YAZ character conversion
user name
2006-11-22 08:57:38
David Dorman wrote:
> At 03:56 PM 11/21/2006, you wrote:
>> David,
>> I am interested in using the portions of YAZ
relating to MARC-8/UTF-8 
>> character conversion.  Does the YAZ library rely on
the XML conversion 
>> file provided by the Library of Congress?

Yes and no. Any application (including one based on YAZ)
receiving XML 
records from the LoC Z39.50 server must assume that it has
done the 
MARC-8 to UTF-8 conversion in a proper manner.

OTOH, if a client fetches MARC21/USMARC in MARC-8 it must do
the 
conversion itself on the client-side. YAZ + MARC4J includes
facilities 
to convert from MARC-8 to UTF-8. And both has facilities to
convert from 
  MARC21 to MARCXML as well.

/ Adam

>> Regards
>> Gary L. Anderson
> 
> Gary,
> 
> Your question is over my head, so I a forwarding it to
the YAZ list 
> where there are likely to be people who can answer it.
> 
> David
> 
> 
> 
> 
> 
> David Dorman
> US Marketing Manager, Index Data
> 52 Whitman Ave.
> West Hartford, Connecticut  06107
> dormanindexdata.com
> 860-389-1568 or toll free 866-489-1568
> fax: 860-561-5613
> 
> INDEX DATA Means Business
> for Open Source and Open Standards
> - - - - - - - - - - - - - - -
> www.indexdata.com
> 
> 
> 
> _______________________________________________
> Yazlist mailing list
> Yazlistlists.indexdata.dk
> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
> 
> 


_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
YAZ character conversion
user name
2006-11-22 13:37:18
David Dorman wrote:

> At 03:56 PM 11/21/2006, you wrote:
>
>> David,
>> I am interested in using the portions of YAZ
relating to MARC-8/UTF-8 
>> character conversion.  Does the YAZ library rely on
the XML 
>> conversion file provided by the Library of
Congress?
>
The YAZ library MARC8/UTF-8 conversion does rely on the
mappings made 
available by LOC. One side effect of this is that diacritics
in MARC-8 
are mapped to composed character sequences in UTF-8, which
is just fine 
in many applications, but it can confuse browsers -- you'll
sometimes 
see diacrics not perfectly aligned with the base character,
for 
instance. If you specify the source character set as
'marc8s', the YAZ 
character conversion utility will map those MARC8 diacritics
that exist 
in Latin-1 to precomposed characters in UTF-8.. This works
better in 
browsers, if you know that you'll mostly be working with
Western scripts.

Cheers,

--Sebastian

>>
>> Regards
>> Gary L. Anderson
>
>
> Gary,
>
> Your question is over my head, so I a forwarding it to
the YAZ list 
> where there are likely to be people who can answer it.
>
> David
>
>
>
>
>
> David Dorman
> US Marketing Manager, Index Data
> 52 Whitman Ave.
> West Hartford, Connecticut  06107
> dormanindexdata.com
> 860-389-1568 or toll free 866-489-1568
> fax: 860-561-5613
>
> INDEX DATA Means Business
> for Open Source and Open Standards
> - - - - - - - - - - - - - - -
> www.indexdata.com
>
>
>
> _______________________________________________
> Yazlist mailing list
> Yazlistlists.indexdata.dk
> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
>
>

-- 
Sebastian Hammer, Index Data
quinnindexdata.com   www.indexdata.com
Ph: (603) 209-6853 Fax: (866) 383-4485


_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
YAZ character conversion
user name
2006-11-22 13:37:18
David Dorman wrote:

> At 03:56 PM 11/21/2006, you wrote:
>
>> David,
>> I am interested in using the portions of YAZ
relating to MARC-8/UTF-8 
>> character conversion.  Does the YAZ library rely on
the XML 
>> conversion file provided by the Library of
Congress?
>
The YAZ library MARC8/UTF-8 conversion does rely on the
mappings made 
available by LOC. One side effect of this is that diacritics
in MARC-8 
are mapped to composed character sequences in UTF-8, which
is just fine 
in many applications, but it can confuse browsers -- you'll
sometimes 
see diacrics not perfectly aligned with the base character,
for 
instance. If you specify the source character set as
'marc8s', the YAZ 
character conversion utility will map those MARC8 diacritics
that exist 
in Latin-1 to precomposed characters in UTF-8.. This works
better in 
browsers, if you know that you'll mostly be working with
Western scripts.

Cheers,

--Sebastian

>>
>> Regards
>> Gary L. Anderson
>
>
> Gary,
>
> Your question is over my head, so I a forwarding it to
the YAZ list 
> where there are likely to be people who can answer it.
>
> David
>
>
>
>
>
> David Dorman
> US Marketing Manager, Index Data
> 52 Whitman Ave.
> West Hartford, Connecticut  06107
> dormanindexdata.com
> 860-389-1568 or toll free 866-489-1568
> fax: 860-561-5613
>
> INDEX DATA Means Business
> for Open Source and Open Standards
> - - - - - - - - - - - - - - -
> www.indexdata.com
>
>
>
> _______________________________________________
> Yazlist mailing list
> Yazlistlists.indexdata.dk
> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
>
>

-- 
Sebastian Hammer, Index Data
quinnindexdata.com   www.indexdata.com
Ph: (603) 209-6853 Fax: (866) 383-4485


_______________________________________________
Yazlist mailing list
Yazlistlists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/yaz
list
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )