Properly(?) determine character length of multibyte strings