Bug 6555 - Console.WriteLine incorrectly escapes '%' on MonoTouch
Summary: Console.WriteLine incorrectly escapes '%' on MonoTouch
Alias: None
Product: iOS
Classification: Xamarin
Component: XI runtime ()
Version: 5.99.x
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Sebastien Pouliot
Depends on:
Reported: 2012-08-16 09:19 UTC by Alan McGovern
Modified: 2014-03-26 11:39 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Alan McGovern 2012-08-16 09:19:10 UTC
1) Add this to your code:
Console.WriteLine ("http://somepath.com/with%20percentages/")

2) Execute it

The application output window contains '[25929:1507] http://somepath.com/with%%20percentages/'

The '%' symbol should not be duplicated like this.
Comment 1 Sebastien Pouliot 2012-08-16 14:55:36 UTC
Good catch :) That was put in place for NSLog but may not be required. Will check...
Comment 2 Sebastien Pouliot 2012-08-16 20:13:38 UTC
Fixed in master: 1d9aa525781945624ffe030486c79288324e8bb0
5.4-series: cfbdb2177510034b61e72235044bf351a1d734b2
Comment 3 Ram Chandra 2014-03-26 11:39:08 UTC
I have checked this issue on following builds:

Mac OS X 10.7.5
Xamarin Studio 4.2.4 (build 266)

I observed that when I write the code that is mentioned in bug description, only one "%" symbol is display on output window. 

Screencast: http://www.screencast.com/t/NnAxjYhP63

This issue is working fine. Hence, I am closing this issue.