Print out encoding information in -v (#2046)