2

I have an issue displaying the typographic currency sign (¤) in a console application. The Console is showing ()(pasted, which does not show up here) - a boxed question mark: enter image description here
The database character set is utf8 with collation utf8_general_ci.
The table and fields are set to the same. The connection string has CharSet=utf8;

In Navicat, changing the encoding or collation has no effect on the display - it is always a (¤). I have been searching the web for a while with no avail, so any help would be much aprreciated.

user947737
  • 326
  • 2
  • 11
  • 2
    Possible duplicate of [How to write Unicode characters to the console?](https://stackoverflow.com/questions/5750203/how-to-write-unicode-characters-to-the-console) – ViRuSTriNiTy Jan 03 '19 at 10:08
  • 1
    Right! - you saved me heaps of time thanks! Console.OutputEncoding = System.Text.Encoding.UTF8 did the trick – user947737 Jan 03 '19 at 11:29

0 Answers0