Laurent Pinchart wrote:
> Hi Eugen,
> 
> On Monday 30 March 2009 23:24:15 Eugen Dedu wrote:
>> Laurent Pinchart wrote:
>>> Hi Eugen,
>>>
>>> On Monday 30 March 2009 17:26:49 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
>>>> )
>>>>
>>>> For example, I see at
>>>>
>>>> http://www.mail-archive.com/linux-uvc-
> [email protected]/msg01225.html:
>>>>> uvcvideo: Found UVC 1.00 device Microsoft? LifeCam NX-6000 (045e:00f8)
>>>> The character ? is in fact trademark/registered.
>>>>
>> - Why the kernel usb subsystem transcode them to latin-1 and not to utf-8?
> 
> You will have to ask the USB subsystem developers.

Hi Laurent,

Thanks again for your answer!

Answer: "Because the code was written that way originally and nobody has 
ever
changed it.  This may sound facetious, but it is the simple truth."

You can see the answer at http://news.gmane.org/gmane.linux.usb.general, 
look at "latin-1 encoding" thread.

>> - Do the linux kernel transcodes to latin-1 or it depends on how it was
>> configured?  Is it the same for linux, windows and macos?  It's because
>> I want to retranscode it to utf-8, and I need to know its current encoding.
> 
> The USB subsystem transcodes the UTF-16 strings to Latin-1 regardless of 
> configuration options. I have no idea how Windows and MacOS handle that.

For info, Windows uses utf-8.

Cheers!
-- 
Eugen
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to