Nmap Development mailing list archives

Re: [NSE] MSRPC Libraries (stable, I hope!)


From: David Fifield <david () bamsoftware com>
Date: Wed, 29 Oct 2008 13:36:31 -0600

On Wed, Oct 29, 2008 at 08:56:15AM -0500, Ron wrote:
David Fifield wrote:
On Wed, Oct 29, 2008 at 06:02:22PM +0000, Brandon Enright wrote:
No, those are my non-ASCII accounts for Zenmap internationalization
tests.

Yeah, I noticed that the first time David did tests. And I'm guessing  
(based on the lack of responses when I asked) there there's no (easy?)  
way to make that work "correctly" in Lua.

Presumably the account names are in some known multi-byte encoding, so
you could pull out the code points and put them in an array or
something. But then the hard part is knowing what to do on output. You
would have to know the encoding of the terminal for interactive output,
so the code-points could be re-encoded into a byte string. It looks like
there is a lua-iconv library that could convert the character strings
but you still have the difficulty of possibly handling different
encodings in interactive and XML output.

David Fifield

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: