On Monday 20 April 2009, Alan Stern wrote: > if you write your own code > to do the translation then you are almost certainly duplicating > code that already exists somewhere else in the kernel, which is > a bad idea. The converse of drivers/usb/gadget/usbstring.c ... which converts from utf-8 to utf16-le. I don't know that there'd be much pre-existing code taking utf16-le *inputs* in Linux. That's why I wrote that code. But if there is, then it'd be worth re-using. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html