Read input from console in Unicode instead of UTF-8 (hex) in golang
<p>I am trying to read a user input with bufio in console. The text can have some special characters (é, à, ♫, ╬,...).</p>

<p>The code look like this :</p>

<pre><code>reader := bufio.NewReader(os.Stdin)
input, _ := reader.ReadString('\n')
</code></pre>

<p>If I type for example "é", the ReadString will read it as "c3 a9" instead of "00e9". How can I read the text input in Unicode instead of UTF-8 ? I need to use this value as a hash table key.</p>

<p>Thanks</p>