control character whose bits are all 0

The null character is a control character with the value zero. Many character sets include a code point for a null character – including Unicode (Universal Coded Character Set), ASCII (ISO/IEC 646), … Wikipedia
🌐
Wikipedia
en.wikipedia.org › wiki › Null_character
Null character - Wikipedia
1 week ago - Originally, its meaning was like NOP – when sent to a printer or a terminal, it had no effect (although some terminals incorrectly displayed it as space). When electromechanical teleprinters were used as computer output devices, one or more null characters were sent at the end of each printed line to allow time for the mechanism to return to the first printing position on the next line.
🌐
NI Community
forums.ni.com › community › discussion forums › most active software boards › labview › removal of a null character from hexadecimal text string
Removal of a null character from hexadecimal text string - NI Community
December 20, 2005 - All you need is a filter: read each single character (VISA read with lenght 1) and case string equals \00 discard the value · Greetings from Germany Henrik LV since v3.1 “ground” is a convenient fantasy '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ' ... I have attached my Labview code and also a snap-shot of the front panel after I have run the code. The two arrays of interset are the hexadecimal text array and decimal number array.
🌐
OSDev Wiki
wiki.osdev.org › Null_Character
Null Character - OSDev Wiki
From this point forward, when we mention the null character/terminator, we will refer to a 8-bit ASCII NULL character, represented as 0x00 in hexadecimal or, in C, as the escape sequence '\0' (not to confuse with "\0", which in C is a null-terminated string containing one null character).
🌐
IBM
ibm.com › support › pages › null-terminator-or-0x00-string-hex
NULL terminator (or 0x00) in a string - hex
Why does NULL value (or 0x00) appears in nco_sql output - hexadecimal format ?
Find elsewhere
🌐
Notepad++ Community
community.notepad-plus-plus.org › topic › 18640 › how-do-you-revert-command-symbols-e-g-nul-to-actual-characters
How do you revert command symbols (e.g. NUL) to actual characters? | Notepad++ Community
December 19, 2019 - Since internally, Scintilla uses the three letters N, U, and L in the current font (though obviously styled differently, to give the black box – see my animation above) for representing the NULL character, then your font will render that as the hex codes for N, U, and L, because those are what are being displayed.
🌐
Qnx
qnx.com › developers › docs › qnxcar2 › topic › com.qnx.doc.neutrino.qed_manual › topic › reference_NUL_character.html
The NUL Character (hex 00)
The NUL character (hex 00) is used internally by the editor to delimit strings. It is therefore not possible to save this character in your buffer.
🌐
Cprogramming
cboard.cprogramming.com › c-programming › 6831-ascii-code-null-character.html
ASCII code for a NULL character
The ASCII character for NULL is NULL, its decimal value is 000, its hex value is 00 and its binary value is 0000 0000.
🌐
ASCII Code
ascii-code.com › character › ␀
Null character - ASCII Code
In some cases, it is referred to as the NUL character. Here are some key details: In ASCII and Unicode, the null character is defined to be U+0000, meaning it is represented in Unicode as the number 0.
🌐
Unicode Compart
compart.com › en › unicode › U+0000
Find all Unicode Characters from Hieroglyphs to Dingbats – Unicode Compart
U+0000 is the unicode hex value of the character (NUL). Char U+0000, Encodings, HTML Entitys:,, UTF-8 (hex), UTF-16 (hex), UTF-32 (hex)
🌐
Quora
quora.com › How-do-you-write-a-null-character
How to write a null character - Quora
Answer (1 of 3): By definition, the null character is all zeroes, both in the ASCII (ISO/IEC 646) character set (hex code 00) and in the ISO/IEC 10646 character set (Universal Multi-Octet Character Set), in both the UCS-2 encoding (hex code ...
🌐
Reddit
reddit.com › r/cprogramming › null character '\0' & null terminated strings
r/cprogramming on Reddit: Null character '\0' & null terminated strings
December 25, 2022 -

Hello everyone!
In C, strings (character arrays) are terminated by null character '\0' - character with value zero.
In ASCII, the NUL control code has value 0 (0x00). Now, if we were working in different character set (say the machine's character set wouldn't be ASCII but different one), should the strings be terminated by NUL in that character set, or by a character whose value is zero?

For example, if the machine's character set would be UTF-16, the in C, byte would be 16bits and strings would be terminated by \0 character with value 0x00 00, which is also NUL in UTF-16.
But, what if the machine's character set would be modified UTF-8 (or UTF-7, ...). Then, according to Wikipedia, the null character is encoded as two bytes 0xC0, 0x80. How would be strings terminated in that case? By the byte with value 0 or by the null character.

I guess my question could be rephrased as: Are null terminated strings terminated by the NUL character (which in that character set might be represented by a nonzero value) or by a character whose value is zero (which in that character set might not represent the NUL character).

Thank you all very much and I'm sorry for all mistakes and errors as english is not my first language.

Thanks again.