From 6472386671f56d056ede0841738f8bd032369a01 Mon Sep 17 00:00:00 2001 From: "Mark J. Price" Date: Wed, 9 Nov 2022 14:41:43 +0000 Subject: [PATCH] Update improvements.md --- docs/errata/improvements.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/errata/improvements.md b/docs/errata/improvements.md index b955ac0..702b82b 100644 --- a/docs/errata/improvements.md +++ b/docs/errata/improvements.md @@ -10,7 +10,10 @@ If you have suggestions for improvements, then please [raise an issue in this re ## Page 153 - Writing a function that returns a value -At the end of this section there is a note box that explains that we could use the `C` format code to format the output as currency. If you are running on a computer in a culture that uses Euros then to show the Euro currency symbol you must enable UTF-8 encoding. Add the following statement before doing any writing to the console: +At the end of this section there is a note box that explains that we could use the `C` format code to format the output as currency. If you are running on a computer in a culture that uses Euros then to show the Euro currency symbol you must enable UTF-8 encoding. + +Add the following statement near the top of the code file before doing any writing to the console: + ```cs Console.OutputEncoding = System.Text.Encoding.UTF8; ```