[racket] Writing UTF-16 to a socket/file
Oh, yes, that looks right to me.
Robby
On Sat, Feb 12, 2011 at 2:54 PM, Neil Van Dyke <neil at neilvandyke.org> wrote:
> Won't "reencode-output-port" let you write Racket strings as UTF-16
> transparently?
>
>
>> On Sat, Feb 12, 2011 at 2:35 PM, Gregory Woodhouse <gregwoodhouse at me.com>
>> wrote:
>>
>>>
>>> Is it possible to ensure that data written to a socket or file is encoded
>>> as UTF-16? I ask because Health Level 7 (HL7) 2.5.1 allows messages to use
>>> UTF-16 as opposed to US-ASCII, but it has to be a fixed width encoding.
>
>
> --
> http://www.neilvandyke.org/
>