Andrew Dunbar wrote:
>
> I've been adding Unicode cut and paste support for Windows and it
> mostly works nicely but there is one problem. The clipboard code
> calls the Text exporter method copyToBuffer but the Text exporter
> now supports both 8 bit and unicode text so with this one function
> it can only export *either* 8 bit *or* unicode.
>
> What's the best way to extend this? Add a parameter to copyToBuffer,
> add a second copyToBuffer, or something else?
>
> There is likely to be a similar problem with adding locale support
> to the clipboard where we will have to also pass the encoding.
Sorry to follow up my own post. This problem also exists for the
Text importer pasteFromBuffer method.
Andrew.
--
http://linguaphile.sourceforge.net
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com