Skip to content

Commit 8f6953f

Browse files
authored
Fix sample output for batch 35 samples (#6669)
1 parent ad4cb0f commit 8f6953f

File tree

8 files changed

+94
-94
lines changed

8 files changed

+94
-94
lines changed

samples/snippets/cpp/VS_Snippets_CLR_System/system.Globalization.CharUnicodeInfo_Char/CPP/charunicodeinfo_char.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ This code produces the following output. Some characters might not display at t
4141
4242
c Num Dig Dec UnicodeCategory
4343
U+0061 LATIN SMALL LETTER A a -1 -1 -1 LowercaseLetter
44-
U+0393 GREEK CAPITAL LETTER GAMMA \u0393 -1 -1 -1 UppercaseLetter
44+
U+0393 GREEK CAPITAL LETTER GAMMA Γ -1 -1 -1 UppercaseLetter
4545
U+0039 DIGIT NINE 9 9 9 9 DecimalDigitNumber
46-
U+00B2 SUPERSCRIPT TWO \u00B2 2 2 2 OtherNumber
47-
U+00BC VULGAR FRACTION ONE QUARTER \u00BC 0.25 -1 -1 OtherNumber
48-
U+0BEF TAMIL DIGIT NINE \u0BEF 9 9 9 DecimalDigitNumber
49-
U+0BF0 TAMIL NUMBER TEN \u0BF0 10 -1 -1 OtherNumber
50-
U+0F33 TIBETAN DIGIT HALF ZERO \u0F33 -0.5 -1 -1 OtherNumber
51-
U+2788 CIRCLED SANS-SERIF DIGIT NINE \u2788 9 9 -1 OtherNumber
46+
U+00B2 SUPERSCRIPT TWO ² 2 2 -1 OtherNumber
47+
U+00BC VULGAR FRACTION ONE QUARTER ¼ 0.25 -1 -1 OtherNumber
48+
U+0BEF TAMIL DIGIT NINE 9 9 9 DecimalDigitNumber
49+
U+0BF0 TAMIL NUMBER TEN 10 -1 -1 OtherNumber
50+
U+0F33 TIBETAN DIGIT HALF ZERO -0.5 -1 -1 OtherNumber
51+
U+2788 CIRCLED SANS-SERIF DIGIT NINE 9 9 -1 OtherNumber
5252
5353
*/
5454
// </snippet1>

samples/snippets/cpp/VS_Snippets_CLR_System/system.Globalization.CharUnicodeInfo_String/CPP/charunicodeinfo_string.cpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ using namespace System;
55
using namespace System::Globalization;
66
int main()
77
{
8-
8+
99
// The String to get information for.
1010
String^ s = "a9\u0393\u00B2\u00BC\u0BEF\u0BF0\u2788";
1111
Console::WriteLine( "String: {0}", s );
12-
12+
1313
// Print the values for each of the characters in the string.
1414
Console::WriteLine( "index c Num Dig Dec UnicodeCategory" );
1515
for ( int i = 0; i < s->Length; i++ )
@@ -26,16 +26,16 @@ int main()
2626
/*
2727
This code produces the following output. Some characters might not display at the console.
2828
29-
String: a9\u0393\u00B2\u00BC\u0BEF\u0BF0\u2788
29+
String: a9Γ²¼௯௰➈
3030
index c Num Dig Dec UnicodeCategory
3131
0 a -1 -1 -1 LowercaseLetter
3232
1 9 9 9 9 DecimalDigitNumber
33-
2 \u0393 -1 -1 -1 UppercaseLetter
34-
3 \u00B2 2 2 2 OtherNumber
35-
4 \u00BC 0.25 -1 -1 OtherNumber
36-
5 \u0BEF 9 9 9 DecimalDigitNumber
37-
6 \u0BF0 10 -1 -1 OtherNumber
38-
7 \u2788 9 9 -1 OtherNumber
33+
2 Γ -1 -1 -1 UppercaseLetter
34+
3 ² 2 2 -1 OtherNumber
35+
4 ¼ 0.25 -1 -1 OtherNumber
36+
5 9 9 9 DecimalDigitNumber
37+
6 10 -1 -1 OtherNumber
38+
7 9 9 -1 OtherNumber
3939
4040
*/
4141
// </snippet1>

samples/snippets/csharp/VS_Snippets_CLR_System/system.Globalization.CharUnicodeInfo_Char/CS/charunicodeinfo_char.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@ This code produces the following output. Some characters might not display at t
5353
5454
c Num Dig Dec UnicodeCategory
5555
U+0061 LATIN SMALL LETTER A a -1 -1 -1 LowercaseLetter
56-
U+0393 GREEK CAPITAL LETTER GAMMA \u0393 -1 -1 -1 UppercaseLetter
56+
U+0393 GREEK CAPITAL LETTER GAMMA Γ -1 -1 -1 UppercaseLetter
5757
U+0039 DIGIT NINE 9 9 9 9 DecimalDigitNumber
58-
U+00B2 SUPERSCRIPT TWO \u00B2 2 2 2 OtherNumber
59-
U+00BC VULGAR FRACTION ONE QUARTER \u00BC 0.25 -1 -1 OtherNumber
60-
U+0BEF TAMIL DIGIT NINE \u0BEF 9 9 9 DecimalDigitNumber
61-
U+0BF0 TAMIL NUMBER TEN \u0BF0 10 -1 -1 OtherNumber
62-
U+0F33 TIBETAN DIGIT HALF ZERO \u0F33 -0.5 -1 -1 OtherNumber
63-
U+2788 CIRCLED SANS-SERIF DIGIT NINE \u2788 9 9 -1 OtherNumber
58+
U+00B2 SUPERSCRIPT TWO ² 2 2 -1 OtherNumber
59+
U+00BC VULGAR FRACTION ONE QUARTER ¼ 0.25 -1 -1 OtherNumber
60+
U+0BEF TAMIL DIGIT NINE 9 9 9 DecimalDigitNumber
61+
U+0BF0 TAMIL NUMBER TEN 10 -1 -1 OtherNumber
62+
U+0F33 TIBETAN DIGIT HALF ZERO -0.5 -1 -1 OtherNumber
63+
U+2788 CIRCLED SANS-SERIF DIGIT NINE 9 9 -1 OtherNumber
6464
6565
*/
6666

samples/snippets/csharp/VS_Snippets_CLR_System/system.Globalization.CharUnicodeInfo_String/CS/charunicodeinfo_string.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,16 @@ public static void Main() {
2828
/*
2929
This code produces the following output. Some characters might not display at the console.
3030
31-
String: a9\u0393\u00B2\u00BC\u0BEF\u0BF0\u2788
31+
String: a9Γ²¼௯௰➈
3232
index c Num Dig Dec UnicodeCategory
3333
0 a -1 -1 -1 LowercaseLetter
3434
1 9 9 9 9 DecimalDigitNumber
35-
2 \u0393 -1 -1 -1 UppercaseLetter
36-
3 \u00B2 2 2 2 OtherNumber
37-
4 \u00BC 0.25 -1 -1 OtherNumber
38-
5 \u0BEF 9 9 9 DecimalDigitNumber
39-
6 \u0BF0 10 -1 -1 OtherNumber
40-
7 \u2788 9 9 -1 OtherNumber
35+
2 Γ -1 -1 -1 UppercaseLetter
36+
3 ² 2 2 -1 OtherNumber
37+
4 ¼ 0.25 -1 -1 OtherNumber
38+
5 9 9 9 DecimalDigitNumber
39+
6 10 -1 -1 OtherNumber
40+
7 9 9 -1 OtherNumber
4141
4242
*/
4343

samples/snippets/csharp/VS_Snippets_CLR_System/system.convert.tochar/cs/tochar1.cs

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ private static void ConvertInt16()
6666
// 40 converts to '('.
6767
// 160 converts to ' '.
6868
// 255 converts to 'ÿ'.
69-
// 1028 converts to '?'.
70-
// 2011 converts to '?'.
71-
// 32767 converts to '?'.
69+
// 1028 converts to 'Є'.
70+
// 2011 converts to 'ߛ'.
71+
// 32767 converts to '翿'.
7272
// </Snippet2>
7373
}
7474

@@ -95,9 +95,9 @@ private static void ConvertInt32()
9595
// 40 converts to '('.
9696
// 160 converts to ' '.
9797
// 255 converts to 'ÿ'.
98-
// 1028 converts to '?'.
99-
// 2011 converts to '?'.
100-
// 30001 converts to '?'.
98+
// 1028 converts to 'Є'.
99+
// 2011 converts to 'ߛ'.
100+
// 30001 converts to ''.
101101
// 207154 is outside the range of the Char data type.
102102
// 2147483647 is outside the range of the Char data type.
103103
// </Snippet3>
@@ -173,9 +173,9 @@ private static void ConvertUInt16()
173173
// 40 converts to '('.
174174
// 160 converts to ' '.
175175
// 255 converts to 'ÿ'.
176-
// 1028 converts to '?'.
177-
// 2011 converts to '?'.
178-
// 65535 converts to '?'.
176+
// 1028 converts to 'Є'.
177+
// 2011 converts to 'ߛ'.
178+
// 65535 converts to ''.
179179
// </Snippet6>
180180
}
181181

@@ -201,9 +201,9 @@ private static void ConvertUInt32()
201201
// 40 converts to '('.
202202
// 160 converts to ' '.
203203
// 255 converts to 'ÿ'.
204-
// 1028 converts to '?'.
205-
// 2011 converts to '?'.
206-
// 30001 converts to '?'.
204+
// 1028 converts to 'Є'.
205+
// 2011 converts to 'ߛ'.
206+
// 30001 converts to ''.
207207
// 207154 is outside the range of the Char data type.
208208
// 2147483647 is outside the range of the Char data type.
209209
// </Snippet7>
@@ -231,9 +231,9 @@ private static void ConvertUInt64()
231231
// 40 converts to '('.
232232
// 160 converts to ' '.
233233
// 255 converts to 'ÿ'.
234-
// 1028 converts to '?'.
235-
// 2011 converts to '?'.
236-
// 30001 converts to '?'.
234+
// 1028 converts to 'Є'.
235+
// 2011 converts to 'ߛ'.
236+
// 30001 converts to ''.
237237
// 207154 is outside the range of the Char data type.
238238
// 9223372036854775807 is outside the range of the Char data type.
239239
// </Snippet8>

samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CharUnicodeInfo_Char/VB/charunicodeinfo_char.vb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
' <snippet1>
44
Imports System.Globalization
55

6-
Public Class SamplesCharUnicodeInfo
6+
Public Class SamplesCharUnicodeInfo
77

88
Public Shared Sub Main()
99

@@ -53,13 +53,13 @@ End Class
5353
'
5454
' c Num Dig Dec UnicodeCategory
5555
'U+0061 LATIN SMALL LETTER A a -1 -1 -1 LowercaseLetter
56-
'U+0393 GREEK CAPITAL LETTER GAMMA \u0393 -1 -1 -1 UppercaseLetter
56+
'U+0393 GREEK CAPITAL LETTER GAMMA Γ -1 -1 -1 UppercaseLetter
5757
'U+0039 DIGIT NINE 9 9 9 9 DecimalDigitNumber
58-
'U+00B2 SUPERSCRIPT TWO \u00B2 2 2 2 OtherNumber
59-
'U+00BC VULGAR FRACTION ONE QUARTER \u00BC 0.25 -1 -1 OtherNumber
60-
'U+0BEF TAMIL DIGIT NINE \u0BEF 9 9 9 DecimalDigitNumber
61-
'U+0BF0 TAMIL NUMBER TEN \u0BF0 10 -1 -1 OtherNumber
62-
'U+0F33 TIBETAN DIGIT HALF ZERO \u0F33 -0.5 -1 -1 OtherNumber
63-
'U+2788 CIRCLED SANS-SERIF DIGIT NINE \u2788 9 9 -1 OtherNumber
58+
'U+00B2 SUPERSCRIPT TWO ² 2 2 -1 OtherNumber
59+
'U+00BC VULGAR FRACTION ONE QUARTER ¼ 0.25 -1 -1 OtherNumber
60+
'U+0BEF TAMIL DIGIT NINE 9 9 9 DecimalDigitNumber
61+
'U+0BF0 TAMIL NUMBER TEN 10 -1 -1 OtherNumber
62+
'U+0F33 TIBETAN DIGIT HALF ZERO -0.5 -1 -1 OtherNumber
63+
'U+2788 CIRCLED SANS-SERIF DIGIT NINE 9 9 -1 OtherNumber
6464

6565
' </snippet1>

samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Globalization.CharUnicodeInfo_String/VB/charunicodeinfo_string.vb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
' <snippet1>
44
Imports System.Globalization
55

6-
Public Class SamplesCharUnicodeInfo
6+
Public Class SamplesCharUnicodeInfo
77

88
Public Shared Sub Main()
99

@@ -29,15 +29,15 @@ End Class
2929

3030
'This code produces the following output. Some characters might not display at the console.
3131
'
32-
'String: a9\u0393\u00B2\u00BC\u0BEF\u0BF0\u2788
32+
'String: a9Γ²¼௯௰➈
3333
'index c Num Dig Dec UnicodeCategory
3434
'0 a -1 -1 -1 LowercaseLetter
3535
'1 9 9 9 9 DecimalDigitNumber
36-
'2 \u0393 -1 -1 -1 UppercaseLetter
37-
'3 \u00B2 2 2 2 OtherNumber
38-
'4 \u00BC 0.25 -1 -1 OtherNumber
39-
'5 \u0BEF 9 9 9 DecimalDigitNumber
40-
'6 \u0BF0 10 -1 -1 OtherNumber
41-
'7 \u2788 9 9 -1 OtherNumber
36+
'2 Γ -1 -1 -1 UppercaseLetter
37+
'3 ² 2 2 -1 OtherNumber
38+
'4 ¼ 0.25 -1 -1 OtherNumber
39+
'5 9 9 9 DecimalDigitNumber
40+
'6 10 -1 -1 OtherNumber
41+
'7 9 9 -1 OtherNumber
4242

4343
' </snippet1>

0 commit comments

Comments
 (0)