On 2004.05.27, Tilmann Singer <[EMAIL PROTECTED]> wrote:
> Can anyone tell me what the chances are for this bug to get fixed:
>
> [ 932459 ] Impossible to set encoding for ns_sockopen
>
> http://sourceforge.net/tracker/index.php?func=detail&aid=932459&group_id=3152&atid=103152
>
> Does it appear like fundamentally hard or even impossible to influence
> the encoding of ns_sockopen? If yes then I'll have to look for another
> possibility to implement the OpenACS xmlrpc functionality.
> Unfortunately it seems that the tcl http package doesn't allow that
> either. Currently that bug prevents from using aolserver as xmlrpc
> client in applications with non-ascii data.

Does this not work:

    foreach {rfd wfd} [ns_sockopen $host $port] break
    fconfigure $wfd -encoding utf-8

    puts $wfd "some data"

If this doesn't, then we can look into what it might take to make this
work for you.

-- Dossy

--
Dossy Shiobara                       mail: [EMAIL PROTECTED]
Panoptic Computer Network             web: http://www.panoptic.com/
  "He realized the fastest way to change is to laugh at your own
    folly -- then you can let go and quickly move on." (p. 70)


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to