Skip to contentSkip to conversation

linux-user: Fix non-UTF-8 characters

PATCH In review Peter Maydell 3 participants 5 messages Dec 2, 2011 – Dec 6, 2011

lore
Share & tools
lore
#0 lore raw

cover linux-user: Fix non-UTF-8 characters

These two patches fix some non-UTF-8 characters in linux-user/ source files. Other than the five files Stefan Weil recently sent a patch to fix, these are the only remaining non-UTF-8 characters in the source tree.

Since I don't entirely trust the email path for sending patches to files where the diffs include non-UTF-8, I've also put the changes up in a git repo, so you may prefer to pull from there:

The following changes since commit 1c8a881daaca6fe0646a425b0970fb3ad25f6732:

Update version for 1.0 release (2011-12-01 14:04:21 -0600)

are available in the git repository at:
git://git.linaro.org/people/pmaydell/qemu-arm.git non-utf-fixes

Peter Maydell (2):
linux-user/cpu-uname.c: Convert to UTF-8 linux-user/arm/nwfpe/fpopcode.h: Fix non-UTF-8 characters

 linux-user/arm/nwfpe/fpopcode.h |   34 +++++++++++++++++-----------------
 linux-user/cpu-uname.c          |    2 +-
 2 files changed, 18 insertions(+), 18 deletions(-)
#1 lore raw

PATCH 1/2 linux-user/cpu-uname.c: Convert to UTF-8

Convert comment from ISO-8859-1 encoding to UTF-8 to match the rest of QEMU's source code.

---
 linux-user/cpu-uname.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
linux-user/cpu-uname.c +1 -1
index 23afede..ddc37be 100644
@@ -1,7 +1,7 @@
 /*
  *  cpu to uname machine name map
  *
- *  Copyright (c) 2009 Lo�c Minier
+ *  Copyright (c) 2009 Loïc Minier
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
Signature · 1 line
1.7.1
#2 lore raw

PATCH 2/2 linux-user/arm/nwfpe/fpopcode.h: Fix non-UTF-8 characters

In reply to Peter Maydell

Fix some stray non-UTF-8 characters used in some ASCII art tables by converting them to plain ASCII '|' instead.

---
 linux-user/arm/nwfpe/fpopcode.h |   34 +++++++++++++++++-----------------
 1 files changed, 17 insertions(+), 17 deletions(-)
linux-user/arm/nwfpe/fpopcode.h +17 -17
index e7d1009..1b1137f 100644
@@ -75,11 +75,11 @@ TABLE 1
 +-------------------------+---+---+---------+---------+
 |  Precision              | u | v | FPSR.EP | length  |
 +-------------------------+---+---+---------+---------+
-| Single                  | 0 � 0 |    x    | 1 words |
-| Double                  | 1 � 1 |    x    | 2 words |
-| Extended                | 1 � 1 |    x    | 3 words |
-| Packed decimal          | 1 � 1 |    0    | 3 words |
-| Expanded packed decimal | 1 � 1 |    1    | 4 words |
+| Single                  | 0 | 0 |    x    | 1 words |
+| Double                  | 1 | 1 |    x    | 2 words |
+| Extended                | 1 | 1 |    x    | 3 words |
+| Packed decimal          | 1 | 1 |    0    | 3 words |
+| Expanded packed decimal | 1 | 1 |    1    | 4 words |
 +-------------------------+---+---+---------+---------+
 Note: x = don't care
 */
@@ -89,10 +89,10 @@ TABLE 2
 +---+---+---------------------------------+
 | w | x | Number of registers to transfer |
 +---+---+---------------------------------+
-| 0 � 1 |  1                              |
-| 1 � 0 |  2                              |
-| 1 � 1 |  3                              |
-| 0 � 0 |  4                              |
+| 0 | 1 |  1                              |
+| 1 | 0 |  2                              |
+| 1 | 1 |  3                              |
+| 0 | 0 |  4                              |
 +---+---+---------------------------------+
 */
 
@@ -153,10 +153,10 @@ TABLE 5
 +-------------------------+---+---+
 |  Rounding Precision     | e | f |
 +-------------------------+---+---+
-| IEEE Single precision   | 0 � 0 |
-| IEEE Double precision   | 0 � 1 |
-| IEEE Extended precision | 1 � 0 |
-| undefined (trap)        | 1 � 1 |
+| IEEE Single precision   | 0 | 0 |
+| IEEE Double precision   | 0 | 1 |
+| IEEE Extended precision | 1 | 0 |
+| undefined (trap)        | 1 | 1 |
 +-------------------------+---+---+
 */
 
@@ -165,10 +165,10 @@ TABLE 5
 +---------------------------------+---+---+
 |  Rounding Mode                  | g | h |
 +---------------------------------+---+---+
-| Round to nearest (default)      | 0 � 0 |
-| Round toward plus infinity      | 0 � 1 |
-| Round toward negative infinity  | 1 � 0 |
-| Round toward zero               | 1 � 1 |
+| Round to nearest (default)      | 0 | 0 |
+| Round toward plus infinity      | 0 | 1 |
+| Round toward negative infinity  | 1 | 0 |
+| Round toward zero               | 1 | 1 |
 +---------------------------------+---+---+
 */
 
Signature · 1 line
1.7.1
Reviewed-by on the v1 series
#3 lore raw
In reply to Peter Maydell

Am 02.12.2011 20:30, schrieb Peter Maydell:

Quoted 8 lines

These two patches fix some non-UTF-8 characters in linux-user/ source files. Other than the five files Stefan Weil recently sent a patch to fix, these are the only remaining non-UTF-8 characters in the source tree.

Since I don't entirely trust the email path for sending patches to files where the diffs include non-UTF-8, I've also put the changes up in a git repo, so you may prefer to pull from there:

'git am' accepted both patches here without any problem.

Quoted 7 lines

The following changes since commit 1c8a881daaca6fe0646a425b0970fb3ad25f6732:

   Update version for 1.0 release (2011-12-01 14:04:21 -0600)

are available in the git repository at:
git://git.linaro.org/people/pmaydell/qemu-arm.git non-utf-fixes

Quoted 7 lines

Peter Maydell (2):
linux-user/cpu-uname.c: Convert to UTF-8 linux-user/arm/nwfpe/fpopcode.h: Fix non-UTF-8 characters

  linux-user/arm/nwfpe/fpopcode.h |   34 +++++++++++++++++-----------------
  linux-user/cpu-uname.c          |    2 +-
  2 files changed, 18 insertions(+), 18 deletions(-)

I cc'ed qemu-trivial, too. Stefan, you can take both patches into the trivial patch queue.

Thanks + regards,
Stefan Weil

#4 lore raw
Quoted 23 lines · Stefan Weil

Am 02.12.2011 20:30, schrieb Peter Maydell:

Quoted 8 lines

These two patches fix some non-UTF-8 characters in linux-user/ source files. Other than the five files Stefan Weil recently sent a patch to fix, these are the only remaining non-UTF-8 characters in the source tree.

Since I don't entirely trust the email path for sending patches to files where the diffs include non-UTF-8, I've also put the changes up in a git repo, so you may prefer to pull from there:

'git am' accepted both patches here without any problem.

Quoted 11 lines

The following changes since commit 1c8a881daaca6fe0646a425b0970fb3ad25f6732:

Update version for 1.0 release (2011-12-01 14:04:21 -0600)

are available in the git repository at:
git://git.linaro.org/people/pmaydell/qemu-arm.git non-utf-fixes

Peter Maydell (2):
linux-user/cpu-uname.c: Convert to UTF-8 linux-user/arm/nwfpe/fpopcode.h: Fix non-UTF-8 characters

Quoted 8 lines
Quoted 3 lines
 linux-user/arm/nwfpe/fpopcode.h |   34 +++++++++++++++++-----------------
 linux-user/cpu-uname.c          |    2 +-
 2 files changed, 18 insertions(+), 18 deletions(-)

I cc'ed qemu-trivial, too. Stefan, you can take both patches into the trivial patch queue.

Thänk§, äppliéd to thé triviäl pätché§ -néxt tréé.

Stefan