[PATCH i-g-t] tools/intel_vbt_decode: convert copyright signs from latin1 to utf8

Jani Nikula jani.nikula at intel.com
Mon Aug 18 10:51:33 UTC 2025


Various tools trip over with latin1 characters in the source, as
nowadays everything pretty much expects utf8.

For example, [1] fails to apply in both Patchwork and b4, because
somewhere along the way, the latin1 copyright sign has in fact been
automagically converted to utf8, and the source still has latin1.

Instead of debugging legacy encodings and conversions, just convert the
remaining latin1 files to utf8 using iconv.

[1] https://lore.kernel.org/all/7090e70d712c94aed53f52c49a8155eb4c6b966c.1755175663.git.jani.nikula@intel.com/

Cc: Kamil Konieczny <kamil.konieczny at linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula at intel.com>

---

I'll be trying 'git send-email --8bit-encoding=iso-8859-1' on this
one. Fingers crossed.
---
 tools/intel_bios.h       | 2 +-
 tools/intel_vbt_decode.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/intel_bios.h b/tools/intel_bios.h
index 01de2246e147..d874a268fe70 100644
--- a/tools/intel_bios.h
+++ b/tools/intel_bios.h
@@ -1,5 +1,5 @@
 /*
- * Copyright © 2006 Intel Corporation
+ * Copyright © 2006 Intel Corporation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
diff --git a/tools/intel_vbt_decode.c b/tools/intel_vbt_decode.c
index 7bb3c19c3340..85bda78a2a54 100644
--- a/tools/intel_vbt_decode.c
+++ b/tools/intel_vbt_decode.c
@@ -1,5 +1,5 @@
 /*
- * Copyright © 2006 Intel Corporation
+ * Copyright © 2006 Intel Corporation
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
-- 
2.47.2



More information about the igt-dev mailing list