supplicant: Make create_name() UTF-8 aware
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Fri, 23 Dec 2011 08:58:28 +0000 (09:58 +0100)
committerDaniel Wagner <daniel.wagner@bmw-carit.de>
Fri, 23 Dec 2011 11:36:31 +0000 (12:36 +0100)
commita1115c6d64c31c6293c4243f9bfbf97b7c35a88a
tree334da700fb5b8998d1ee474f9de3407c04b719da
parent76a486a7cbdbb549c229cb2593c96f1c1402bb48
supplicant: Make create_name() UTF-8 aware

Create proper UTF-8 encoded names from SSIDs. Invalid
sequneces will be replaced by replacement characters.

This function is based on the _g_utf8_make_valid() from glib.
gsupplicant/supplicant.c