I have a .NET script implemented as a console application. During execution it writes debug information to the console. During the script, the application occasionally beep several times in succession. Looking closer it seems to happen everytime certain characters are printed.
Is there any special characters that would cause the system to beep when read into memory or printed to the screen in .NET?
The characters resembles this:
ר×>גת הס×oגס צ’×צ’× ××?×’×? ×o××’×” גר××z× ×T×”
×”×z×פע ×o×zצ××? ×?ת ×-×שה הס×T×§×” פרה×T×T×- הת××?ר
×’×z×’×” ×”×?×-×T×§××Y
and this
é>┼ å╬¶æ%<è?½ç½’ 弿-°ç-‘å>¢ é>┼ 嫣红é?╬ä¸S 害ç^¶ä»╬äº é>┼
å°?å^?è¯^ç-. 为è§?å┼·è¡ é>┼ è?½çY³ç< æ<> è¿«ä¼-å±^æo é>┼ æ£æ^’åSªåS>
è?¥æ’ä¼-人 é>┼ 为åS©å┼·è¡? æ£æ^’å?-ä¼ é>┼ å┼·è¡?æ^?åSY å®Oæ^?ä»»åS
é>┼ 唿å?被æ?? 蔡京ç<‘æ? é>┼ é”?æ%<æ??人 è¯?æ?®ç¡®å╬
é>┼ã??æ- æƒ.åZYæ~¯ æ^?å®¶å?Z é>┼ è<¥é£z支æO? 追咽å¼?è§ é>┼
æ- æƒ.æ£æ^’ å?’çZ°çoYç> é>┼ è<¥é£z失æ~Z é”?æ%<心ç- é>┼
But I haven’t gotten them to beep by trying to write them to the console manually.
I would guess that you are printing a character that maps to the ASCII Bell character: MSDN Blog on the issue