Skip to contentSkip to conversation

Convert source files to UTF-8 encoding

PATCH In review Stefan Weil 3 participants 3 messages Dec 2, 2011 – Dec 6, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Convert source files to UTF-8 encoding

Most QEMU files either are pure ASCII or use UTF-8. Convert some files which still used ISO-8859-1 to UTF-8.

---
 hw/ds1225y.c           |    2 +-
 hw/fdc.c               |    2 +-
 hw/jazz_led.c          |    2 +-
 hw/tc6393xb_template.h |    2 +-
 hw/vmport.c            |    2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
hw/ds1225y.c +1 -1
index 6852a61..5da2d68 100644
@@ -1,7 +1,7 @@
 /*
  * QEMU NVRAM emulation for DS1225Y chip
  *
- * Copyright (c) 2007-2008 Herv� Poussineau
+ * Copyright (c) 2007-2008 Hervé Poussineau
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
hw/fdc.c +1 -1
index ecaad09..531a34e 100644
@@ -2,7 +2,7 @@
  * QEMU Floppy disk emulator (Intel 82078)
  *
  * Copyright (c) 2003, 2007 Jocelyn Mayer
- * Copyright (c) 2008 Herv� Poussineau
+ * Copyright (c) 2008 Hervé Poussineau
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
hw/jazz_led.c +1 -1
index eb472a0..c75aef7 100644
@@ -1,7 +1,7 @@
 /*
  * QEMU JAZZ LED emulator.
  *
- * Copyright (c) 2007 Herv� Poussineau
+ * Copyright (c) 2007 Hervé Poussineau
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
hw/tc6393xb_template.h +1 -1
index 1ccf6e8..4cbbad5 100644
@@ -5,7 +5,7 @@
  *
  * FB support code. Based on G364 fb emulator
  *
- * Copyright (c) 2007 Herv� Poussineau
+ * Copyright (c) 2007 Hervé Poussineau
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License as
hw/vmport.c +1 -1
index b5c6fa1..0a3dbc5 100644
@@ -1,7 +1,7 @@
 /*
  * QEMU VMPort emulation
  *
- * Copyright (C) 2007 Herv� Poussineau
+ * Copyright (C) 2007 Hervé Poussineau
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
Signature · 1 line
1.7.2.5
#1 lore raw
Quoted 2 lines · Stefan Weil

Most QEMU files either are pure ASCII or use UTF-8. Convert some files which still used ISO-8859-1 to UTF-8.

Looks good. It looks like with these done there are only two more files which have non-UTF-8 in them:
./linux-user/cpu-uname.c ./linux-user/arm/nwfpe/fpopcode.h

We can deal with those in separate patches I guess.

(I checked with this command:

for f in $(find . -name '*.[ch]'); do iconv -f UTF-8 -t UTF-8 -o /dev/null "$f" 2>/dev/null || echo "$f"; done

)

-- PMM

#2 lore raw
In reply to Stefan Weil
Quoted 11 lines · Stefan Weil

Most QEMU files either are pure ASCII or use UTF-8. Convert some files which still used ISO-8859-1 to UTF-8.

---
 hw/ds1225y.c           |    2 +-
 hw/fdc.c               |    2 +-
 hw/jazz_led.c          |    2 +-
 hw/tc6393xb_template.h |    2 +-
 hw/vmport.c            |    2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

Thänk§, äppliéd to thé triviäl pätché§ -néxt tréé:
http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/trivial-patches-next

Stefan