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

Kamil Konieczny kamil.konieczny at linux.intel.com
Wed Aug 20 08:58:03 UTC 2025


Hi Jani,
On 2025-08-20 at 10:24:05 +0300, Jani Nikula wrote:
> 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>

Reviewed-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>

Thank you for a fix, I will merge it soon with small change in
subject, s/sings/sign/ as this is only one file and one char.

Regards,
Kamil

> 
> ---
> 
> v2: Rebase, intel_bios.h no longer exists.
> 
> I'll be trying 'git send-email --8bit-encoding=iso-8859-1' on this
> one. Fingers crossed.
> ---
>  tools/intel_vbt_decode.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/intel_vbt_decode.c b/tools/intel_vbt_decode.c
> index 6882ae1d2f63..a4e76b7559d2 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