Re: [PATCH] linux: Allow valid UTF-8 encoded string.

2013-09-03 Thread Martin Pitt
Hello Shih-Yuan, Thanks for your patch! I created a new test case for vendor/product/serial strings in http://cgit.freedesktop.org/upower/commit/?id=d070b4b83 and then committed your patch with the according test case update: http://cgit.freedesktop.org/upower/commit/?id=ba363c8 Note that

[PATCH] linux: Allow valid UTF-8 encoded string.

2013-09-02 Thread Shih-Yuan Lee (FourDollars)
From: "Shih-Yuan Lee (FourDollars)" --- src/linux/up-device-supply.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/src/linux/up-device-supply.c b/src/linux/up-device-supply.c index cc192c7..fbfaeca 100644 --- a/src/linux/up-device-supply.c +++ b/src/linux/up-device-supply.c @@ -441,6