Remove UTF-8 characters from comments

I've used an operating system for over 10 years now that makes
UTF-8 easy. It's not called Linux or OSX.

When UTF-8 is needed, of course, then we can look again.
I can't think of a single redeeming feature of placing
it in the comment in this manner. It's certainy not
needed.

The inclusion of UTF-8 characters is inconvenient,
especially from a text terminal.
I don't really want to start using compose in
CROSH shell terminals on chromeos.

We might want to incorporate "no UTF-8" as a
commit filter. For now, get rid of these
characters.

Change-Id: If94cc657bae1dbd282bec8de6c5309b1f8da5659
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Reviewed-on: http://review.coreboot.org/2604
Reviewed-by: Bernhard Urban <lewurm@gmail.com>
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
Ronald G. Minnich 2013-03-07 11:05:28 -06:00
parent 147cdc3b17
commit be738eb133
1 changed files with 2 additions and 2 deletions

View File

@ -211,13 +211,13 @@ int acpigen_emit_namestring(const char *namepath) {
int dotpos = 0;
int len = 0;
/* We can start with a »\«. */
/* We can start with a '\'. */
if (namepath[0] == '\\') {
len += acpigen_emit_byte('\\');
namepath++;
}
/* And there can be any number of »^«. */
/* And there can be any number of '^' */
while (namepath[0] == '^') {
len += acpigen_emit_byte('^');
namepath++;