Forum Xamarin.Mac

Console.WriteLine replaces diacritic characters by "?"

GT4485GT4485 Member ✭✭

Hello.
Mac OS 10.14.6, (french) - VS for Mac Community 8.5.5 (french)
When executing the following program in debug mode,

using AppKit; using CoreGraphics; using Foundation; using System;
namespace TSW2
{
    public partial class ViewController : NSViewController
    {
        public ViewController(IntPtr handle) : base(handle) { }
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();
            // Do any additional setup after loading the view.
            Console.WriteLine("aàeéèêëiîïoôuùûcç");
        }
    }
}

the application output window displays

a?e????i??o?u??c?

It looks like a bug ?
Regards,
Gilbert

Posts

Sign In or Register to comment.