This article is a mirror article of machine translation, please click here to jump to the original article.

View: 31010|Reply: 5

[Source] C# string special symbols

[Copy link]
Posted on 9/25/2018 9:59:28 AM | | | |
I used a regex to determine whether the string was made up of only letters and numbers, and then found that a string with "jquery" returned false!

Copying this string, we output as follows:



Attach the source code first: Program - 副本.cs (725 Bytes, Number of downloads: 2)

Let's open it in Notepad++ UTF-8 format as shown below:



We didn't find any problems, so we opened it with ANSI encoding, as shown in the figure below:



We output ASCII as follows:



Finally, test 8203, 8204, 8205 to char, write to the file, there will be strings that are not visible to the naked eye. Now I'm confused.




Previous:How programmers think about how to communicate with normal people.
Next:The easiest pit to step on in mysql Binlog
Posted on 9/27/2018 9:47:59 AM |
Take a magnifying glass and try it
Posted on 9/29/2018 9:27:39 AM |
In the properties dialog, the path copied by the security tab VS is also not recognized, it will always make errors, and it will not be visible to the naked eye
 Landlord| Posted on 9/29/2018 9:55:42 AM |
xclikee Posted on 2018-9-29 09:27
In the properties dialog, the path copied by the security tab VS is also not recognized, it will always give errors, and it is not visible to the naked eye.

Paths are not allowed to have special symbols
Posted on 9/29/2018 10:09:17 AM |
Xiao Zhazha Posted on 2018-9-29 09:55
Paths are not allowed to have special symbols

The copied path does not show any special symbols  
Posted on 9/29/2018 10:12:49 AM |
Xiao Zhazha Posted on 2018-9-29 09:55
Paths are not allowed to have special symbols

https://www.itsvse.com/thread-4625-1-5.html  这个帖子不能回复了,没有找到站内信,想看下源码研究一下
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com