On Mon, 20 Apr 2009, Eugen Dedu wrote: > Hi, > > (This e-mail is because we have a bug about a camera name which seems > not to be in utf-8, > https://bugs.launchpad.net/ubuntu/+source/ekiga/+bug/345192?comments=all) > > I was told > (http://www.mail-archive.com/linux-uvc-devel@xxxxxxxxxxxxxxxx/msg04022.html) > that camera names (and possibly others, such as device names) are > recorded as utf-16 in cameras, and linux usb subsystem transforms them > to latin-1 (iso-8859-1) before making them available to applications. > > This is an inconvenient for applications which should print them (to > terminal or to windows), as nowadays utf-8 is ubiquitous. > > So my question is: why does usb linux use latin-1 and not utf-8? Because the code was written that way originally and nobody has ever changed it. This may sound facetious, but it is the simple truth. Alan Stern -- 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