Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: encoding: msg#00007

Subject: Re: encoding
On Mon, Apr 25, 2005 at 12:17:33PM +0300, Christoffer Landtman wrote:
> PHP-YAZ itself is not able to change the encoding of the records, so
> unless the server supports sending the records in another charset, I'm
> not entirely sure what is the best way to proceed. We are experiencing
> identical issues with some of our Finnish proprietary servers, and have
> not yet figured out the best way to proceed. Setting up a YAZProxy is
> one solution, but this might seem a bit overkill.

Please correct me if I'm wrong, but if we used the XML features of
PHP-YAZ, I think this is possible as follows (in this case, converting
from marc-8 to utf-8):

   yaz_record($id, 1, 'array2; charset=marc-8,utf-8')

Or am I confused as to what this is doing?

(for the context of this statement, see attached test.php)

-- 
Encrypted Mail Preferred:
    Key ID:  8527B9AF
    Key Fingerprint:  E1B6 40B6 B73F 695E 0D3B  644E 6427 DD74 8527 B9AF
    Information:  http://www.gnupg.org/
                                                                                
ASCII ribbon campaign:
()  against HTML email
/\  against Microsoft attachments
    Information:  http://www.expita.com/nomime.html

Attachment: test.php
Description: application/httpd-php

_______________________________________________
Emilda mailing list
Emilda@xxxxxxxxxxxxxxxxxx
http://lists.realnode.com/mailman/listinfo/emilda
<Prev in Thread] Current Thread [Next in Thread>