Update UTF-8 selection for multiple selections

ref #160

The changes in 74748c6 ignore the support for multiple selections
introduced in d93dfd3. This fixes that.