Alan Stern
0720a06a75
NLS: improve UTF8 -> UTF16 string conversion routine
...
The utf8s_to_utf16s conversion routine needs to be improved. Unlike
its utf16s_to_utf8s sibling, it doesn't accept arguments specifying
the maximum length of the output buffer or the endianness of its
16-bit output.
This patch (as1501) adds the two missing arguments, and adjusts the
only two places in the kernel where the function is called. A
follow-on patch will add a third caller that does utilize the new
capabilities.
The two conversion routines are still annoyingly inconsistent in the
way they handle invalid byte combinations. But that's a subject for a
different patch.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu >
CC: Clemens Ladisch <clemens@ladisch.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de >
2011-11-18 10:51:01 -08:00
..
2011-11-04 18:02:25 -07:00
2011-11-03 09:40:51 -07:00
2011-11-03 09:40:51 -07:00
2011-11-01 10:51:38 -07:00
2011-11-07 09:11:16 -08:00
2011-11-01 09:19:52 +01:00
2011-10-31 17:30:55 -07:00
2011-11-06 19:44:47 -08:00
2011-10-31 17:30:54 -07:00
2011-11-06 19:44:47 -08:00
2011-11-15 10:46:13 -08:00
2011-11-02 16:07:03 -07:00
2011-10-31 17:30:54 -07:00
2011-11-06 19:44:47 -08:00
2011-10-31 17:30:54 -07:00
2011-11-02 16:07:03 -07:00
2011-10-31 17:30:49 -07:00
2011-11-04 22:28:09 +01:00
2011-11-07 10:13:52 -08:00
2011-11-06 19:44:47 -08:00
2011-11-02 12:53:43 +01:00
2011-11-06 19:44:47 -08:00
2011-11-06 17:12:03 -08:00
2011-11-06 19:44:47 -08:00
2011-10-31 17:30:54 -07:00
2011-11-04 18:37:23 -04:00
2011-11-02 10:06:20 -07:00
2011-11-04 22:28:15 +01:00
2011-11-02 11:41:01 -07:00
2011-10-31 17:30:54 -07:00
2011-11-06 19:44:47 -08:00
2011-11-04 17:22:14 -07:00
2011-10-31 17:30:48 -07:00
2011-10-31 17:30:54 -07:00
2011-10-31 17:30:54 -07:00
2011-11-07 07:54:42 +10:30
2011-10-31 17:46:07 -07:00
2011-10-31 17:30:54 -07:00
2011-10-31 17:30:54 -07:00
2011-10-31 17:30:54 -07:00
2011-10-31 17:30:54 -07:00
2011-10-31 17:30:52 -07:00
2011-10-31 17:30:57 -07:00
2011-11-04 17:22:14 -07:00
2011-11-02 16:06:59 -07:00
2011-10-31 17:30:47 -07:00
2011-11-02 16:07:00 -07:00
2011-11-02 16:06:57 -07:00
2011-11-02 16:06:58 -07:00
2011-10-31 17:30:54 -07:00
2011-10-31 17:30:47 -07:00
2011-11-02 12:53:42 +01:00
2011-10-31 17:30:54 -07:00
2011-11-01 09:24:41 -07:00
2011-11-18 10:51:01 -08:00
2011-11-06 19:44:47 -08:00
2011-11-04 22:28:13 +01:00
2011-11-02 16:07:02 -07:00
2011-10-31 17:30:54 -07:00
2011-10-31 17:30:54 -07:00
2011-11-02 16:07:01 -07:00
2011-11-06 19:02:23 -08:00
2011-11-02 16:07:01 -07:00
2011-10-31 17:30:54 -07:00
2011-10-31 17:30:49 -07:00
2011-11-01 00:55:48 -04:00
2011-10-31 17:30:47 -07:00
2011-11-02 16:07:02 -07:00
2011-10-31 17:30:54 -07:00
2011-11-15 10:47:40 -08:00
2011-11-02 16:07:02 -07:00
2011-11-03 18:29:09 -02:00
2011-11-02 11:40:58 +10:30
2011-11-02 11:41:01 +10:30
2011-11-02 11:40:59 +10:30
2011-11-02 11:40:59 +10:30
2011-10-31 17:30:47 -07:00