Fix UTF-8 encoding
Report to find out all non-UTF-8 files created by
cat extensions |xargs -I XXXX find . -name \*.XXXX |while read FILE ; do
    if ( iconv -f utf8 -t ucs2 $FILE >/dev/null 2>/dev/null ) ; then
        /bin/true
    else
        echo $FILE
    fi
done >>report
Signed-off-by: Matěj Cepl <mcepl@redhat.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
[Daniel: git am failed for me, so I redid it.  The method listed in the
         commit message also failed, so I just used file/grep/iconv.  The
         results are the same though.]
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
			
			
This commit is contained in:
		
				
					committed by
					
						
						Peter Hutterer
					
				
			
			
				
	
			
			
			
						parent
						
							2ee85d954c
						
					
				
				
					commit
					b27d61e443
				
			@@ -1,7 +1,7 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright <EFBFBD> 2001 Keith Packard
 | 
			
		||||
 * Copyright © 2001 Keith Packard
 | 
			
		||||
 *
 | 
			
		||||
 * Partly based on code that is Copyright <EFBFBD> The XFree86 Project Inc.
 | 
			
		||||
 * Partly based on code that is Copyright © The XFree86 Project Inc.
 | 
			
		||||
 *
 | 
			
		||||
 * Permission to use, copy, modify, distribute, and sell this software and its
 | 
			
		||||
 * documentation for any purpose is hereby granted without fee, provided that
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright <EFBFBD> 2001 Keith Packard
 | 
			
		||||
 * Copyright © 2001 Keith Packard
 | 
			
		||||
 *
 | 
			
		||||
 * Partly based on code that is Copyright <EFBFBD> The XFree86 Project Inc.
 | 
			
		||||
 * Partly based on code that is Copyright © The XFree86 Project Inc.
 | 
			
		||||
 *
 | 
			
		||||
 * Permission to use, copy, modify, distribute, and sell this software and its
 | 
			
		||||
 * documentation for any purpose is hereby granted without fee, provided that
 | 
			
		||||
@@ -23,7 +23,7 @@
 | 
			
		||||
 *
 | 
			
		||||
 * Authors:
 | 
			
		||||
 *    Eric Anholt <eric@anholt.net>
 | 
			
		||||
 *    Michel D<EFBFBD>nzer <michel@tungstengraphics.com>
 | 
			
		||||
 *    Michel Dänzer <michel@tungstengraphics.com>
 | 
			
		||||
 *
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright <EFBFBD> 2009 Maarten Maathuis
 | 
			
		||||
 * Copyright © 2009 Maarten Maathuis
 | 
			
		||||
 *
 | 
			
		||||
 * Permission is hereby granted, free of charge, to any person obtaining a
 | 
			
		||||
 * copy of this software and associated documentation files (the "Software"),
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright <EFBFBD> 2009 Maarten Maathuis
 | 
			
		||||
 * Copyright © 2009 Maarten Maathuis
 | 
			
		||||
 *
 | 
			
		||||
 * Permission is hereby granted, free of charge, to any person obtaining a
 | 
			
		||||
 * copy of this software and associated documentation files (the "Software"),
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright <EFBFBD> 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"),
 | 
			
		||||
@@ -22,7 +22,7 @@
 | 
			
		||||
 *
 | 
			
		||||
 * Authors:
 | 
			
		||||
 *    Eric Anholt <eric@anholt.net>
 | 
			
		||||
 *    Michel D<EFBFBD>nzer <michel@tungstengraphics.com>
 | 
			
		||||
 *    Michel Dänzer <michel@tungstengraphics.com>
 | 
			
		||||
 *
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright <EFBFBD> 2009 Maarten Maathuis
 | 
			
		||||
 * Copyright © 2009 Maarten Maathuis
 | 
			
		||||
 *
 | 
			
		||||
 * Permission is hereby granted, free of charge, to any person obtaining a
 | 
			
		||||
 * copy of this software and associated documentation files (the "Software"),
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright <EFBFBD> 2009 Maarten Maathuis
 | 
			
		||||
 * Copyright © 2009 Maarten Maathuis
 | 
			
		||||
 *
 | 
			
		||||
 * Permission is hereby granted, free of charge, to any person obtaining a
 | 
			
		||||
 * copy of this software and associated documentation files (the "Software"),
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
/*
 | 
			
		||||
 *
 | 
			
		||||
 * Copyright <EFBFBD> 1999 Keith Packard
 | 
			
		||||
 * Copyright © 1999 Keith Packard
 | 
			
		||||
 *
 | 
			
		||||
 * Permission to use, copy, modify, distribute, and sell this software and its
 | 
			
		||||
 * documentation for any purpose is hereby granted without fee, provided that
 | 
			
		||||
 
 | 
			
		||||
@@ -2,7 +2,7 @@
 | 
			
		||||
 * Xephyr - A kdrive X server thats runs in a host X window.
 | 
			
		||||
 *          Authored by Matthew Allum <mallum@openedhand.com>
 | 
			
		||||
 * 
 | 
			
		||||
 * Copyright <EFBFBD> 2004 Nokia 
 | 
			
		||||
 * Copyright © 2004 Nokia 
 | 
			
		||||
 *
 | 
			
		||||
 * Permission to use, copy, modify, distribute, and sell this software and its
 | 
			
		||||
 * documentation for any purpose is hereby granted without fee, provided that
 | 
			
		||||
 
 | 
			
		||||
@@ -2,7 +2,7 @@
 | 
			
		||||
 * Xephyr - A kdrive X server thats runs in a host X window.
 | 
			
		||||
 *          Authored by Matthew Allum <mallum@o-hand.com>
 | 
			
		||||
 * 
 | 
			
		||||
 * Copyright <EFBFBD> 2004 Nokia 
 | 
			
		||||
 * Copyright © 2004 Nokia 
 | 
			
		||||
 *
 | 
			
		||||
 * Permission to use, copy, modify, distribute, and sell this software and its
 | 
			
		||||
 * documentation for any purpose is hereby granted without fee, provided that
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright <EFBFBD> 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,7 +2,7 @@
 | 
			
		||||
 * Xephyr - A kdrive X server thats runs in a host X window.
 | 
			
		||||
 *          Authored by Matthew Allum <mallum@o-hand.com>
 | 
			
		||||
 * 
 | 
			
		||||
 * Copyright <EFBFBD> 2004 Nokia 
 | 
			
		||||
 * Copyright © 2004 Nokia 
 | 
			
		||||
 *
 | 
			
		||||
 * Permission to use, copy, modify, distribute, and sell this software and its
 | 
			
		||||
 * documentation for any purpose is hereby granted without fee, provided that
 | 
			
		||||
 
 | 
			
		||||
@@ -2,7 +2,7 @@
 | 
			
		||||
 * Xephyr - A kdrive X server thats runs in a host X window.
 | 
			
		||||
 *          Authored by Matthew Allum <mallum@o-hand.com>
 | 
			
		||||
 * 
 | 
			
		||||
 * Copyright <EFBFBD> 2004 Nokia 
 | 
			
		||||
 * Copyright © 2004 Nokia 
 | 
			
		||||
 *
 | 
			
		||||
 * Permission to use, copy, modify, distribute, and sell this software and its
 | 
			
		||||
 * documentation for any purpose is hereby granted without fee, provided that
 | 
			
		||||
 
 | 
			
		||||
@@ -2,7 +2,7 @@
 | 
			
		||||
 * Xephyr - A kdrive X server thats runs in a host X window.
 | 
			
		||||
 *          Authored by Matthew Allum <mallum@o-hand.com>
 | 
			
		||||
 * 
 | 
			
		||||
 * Copyright <EFBFBD> 2004 Nokia 
 | 
			
		||||
 * Copyright © 2004 Nokia 
 | 
			
		||||
 *
 | 
			
		||||
 * Permission to use, copy, modify, distribute, and sell this software and its
 | 
			
		||||
 * documentation for any purpose is hereby granted without fee, provided that
 | 
			
		||||
 
 | 
			
		||||
@@ -2,7 +2,7 @@
 | 
			
		||||
 * Xephyr - A kdrive X server thats runs in a host X window.
 | 
			
		||||
 *          Authored by Matthew Allum <mallum@o-hand.com>
 | 
			
		||||
 * 
 | 
			
		||||
 * Copyright <EFBFBD> 2004 Nokia 
 | 
			
		||||
 * Copyright © 2004 Nokia 
 | 
			
		||||
 *
 | 
			
		||||
 * Permission to use, copy, modify, distribute, and sell this software and its
 | 
			
		||||
 * documentation for any purpose is hereby granted without fee, provided that
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright <EFBFBD> 1999 Keith Packard
 | 
			
		||||
 * Copyright © 1999 Keith Packard
 | 
			
		||||
 *
 | 
			
		||||
 * Permission to use, copy, modify, distribute, and sell this software and its
 | 
			
		||||
 * documentation for any purpose is hereby granted without fee, provided that
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright <EFBFBD> 1999 Keith Packard
 | 
			
		||||
 * Copyright © 1999 Keith Packard
 | 
			
		||||
 *
 | 
			
		||||
 * Permission to use, copy, modify, distribute, and sell this software and its
 | 
			
		||||
 * documentation for any purpose is hereby granted without fee, provided that
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright <EFBFBD> 1999 Keith Packard
 | 
			
		||||
 * Copyright © 1999 Keith Packard
 | 
			
		||||
 *
 | 
			
		||||
 * Permission to use, copy, modify, distribute, and sell this software and its
 | 
			
		||||
 * documentation for any purpose is hereby granted without fee, provided that
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright <EFBFBD> 1999 Keith Packard
 | 
			
		||||
 * Copyright © 1999 Keith Packard
 | 
			
		||||
 *
 | 
			
		||||
 * Permission to use, copy, modify, distribute, and sell this software and its
 | 
			
		||||
 * documentation for any purpose is hereby granted without fee, provided that
 | 
			
		||||
 
 | 
			
		||||
@@ -1,10 +1,10 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright <EFBFBD> 1999 Keith Packard
 | 
			
		||||
 * XKB integration <EFBFBD> 2006 Nokia Corporation, author: Tomas Frydrych <tf@o-hand.com>
 | 
			
		||||
 * Copyright © 1999 Keith Packard
 | 
			
		||||
 * XKB integration © 2006 Nokia Corporation, author: Tomas Frydrych <tf@o-hand.com>
 | 
			
		||||
 *
 | 
			
		||||
 * LinuxKeyboardRead() XKB code based on xf86KbdLnx.c:
 | 
			
		||||
 * Copyright <EFBFBD> 1990,91 by Thomas Roell, Dinkelscherben, Germany.
 | 
			
		||||
 * Copyright <EFBFBD> 1994-2001 by The XFree86 Project, Inc.
 | 
			
		||||
 * Copyright © 1990,91 by Thomas Roell, Dinkelscherben, Germany.
 | 
			
		||||
 * Copyright © 1994-2001 by The XFree86 Project, Inc.
 | 
			
		||||
 *
 | 
			
		||||
 * Permission is hereby granted, free of charge, to any person obtaining a
 | 
			
		||||
 * copy of this software and associated documentation files (the "Software"),
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright <EFBFBD> 1999 Keith Packard
 | 
			
		||||
 * Copyright © 1999 Keith Packard
 | 
			
		||||
 *
 | 
			
		||||
 * Permission to use, copy, modify, distribute, and sell this software and its
 | 
			
		||||
 * documentation for any purpose is hereby granted without fee, provided that
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright <EFBFBD> 2001 Keith Packard
 | 
			
		||||
 * Copyright © 2001 Keith Packard
 | 
			
		||||
 *
 | 
			
		||||
 * Permission to use, copy, modify, distribute, and sell this software and its
 | 
			
		||||
 * documentation for any purpose is hereby granted without fee, provided that
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright <EFBFBD> 1999 Keith Packard
 | 
			
		||||
 * Copyright © 1999 Keith Packard
 | 
			
		||||
 *
 | 
			
		||||
 * Permission to use, copy, modify, distribute, and sell this software and its
 | 
			
		||||
 * documentation for any purpose is hereby granted without fee, provided that
 | 
			
		||||
 
 | 
			
		||||
@@ -4,11 +4,11 @@
 | 
			
		||||
 * Derived from ts.c by Keith Packard
 | 
			
		||||
 * Derived from ps2.c by Jim Gettys
 | 
			
		||||
 *
 | 
			
		||||
 * Copyright <EFBFBD> 1999 Keith Packard
 | 
			
		||||
 * Copyright <EFBFBD> 2000 Compaq Computer Corporation
 | 
			
		||||
 * Copyright <EFBFBD> 2002 MontaVista Software Inc.
 | 
			
		||||
 * Copyright <EFBFBD> 2005 OpenedHand Ltd.
 | 
			
		||||
 * Copyright <EFBFBD> 2006 Nokia Corporation
 | 
			
		||||
 * Copyright © 1999 Keith Packard
 | 
			
		||||
 * Copyright © 2000 Compaq Computer Corporation
 | 
			
		||||
 * Copyright © 2002 MontaVista Software Inc.
 | 
			
		||||
 * Copyright © 2005 OpenedHand Ltd.
 | 
			
		||||
 * Copyright © 2006 Nokia Corporation
 | 
			
		||||
 *
 | 
			
		||||
 * Permission to use, copy, modify, distribute, and sell this software and its
 | 
			
		||||
 * documentation for any purpose is hereby granted without fee, provided that
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright <EFBFBD> 1999 Keith Packard
 | 
			
		||||
 * Copyright © 1999 Keith Packard
 | 
			
		||||
 *
 | 
			
		||||
 * Permission to use, copy, modify, distribute, and sell this software and its
 | 
			
		||||
 * documentation for any purpose is hereby granted without fee, provided that
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright <EFBFBD> 1999 Keith Packard
 | 
			
		||||
 * Copyright © 1999 Keith Packard
 | 
			
		||||
 *
 | 
			
		||||
 * Permission to use, copy, modify, distribute, and sell this software and its
 | 
			
		||||
 * documentation for any purpose is hereby granted without fee, provided that
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright <EFBFBD> 1999 Keith Packard
 | 
			
		||||
 * Copyright © 1999 Keith Packard
 | 
			
		||||
 *
 | 
			
		||||
 * Permission to use, copy, modify, distribute, and sell this software and its
 | 
			
		||||
 * documentation for any purpose is hereby granted without fee, provided that
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright <EFBFBD> 1999 Keith Packard
 | 
			
		||||
 * Copyright <EFBFBD> 2006 Nokia Corporation
 | 
			
		||||
 * Copyright © 1999 Keith Packard
 | 
			
		||||
 * Copyright © 2006 Nokia Corporation
 | 
			
		||||
 *
 | 
			
		||||
 * Permission to use, copy, modify, distribute, and sell this software and its
 | 
			
		||||
 * documentation for any purpose is hereby granted without fee, provided that
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright <EFBFBD> 1999 Keith Packard
 | 
			
		||||
 * Copyright © 1999 Keith Packard
 | 
			
		||||
 *
 | 
			
		||||
 * Permission to use, copy, modify, distribute, and sell this software and its
 | 
			
		||||
 * documentation for any purpose is hereby granted without fee, provided that
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright <EFBFBD> 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"),
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright <EFBFBD> 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"),
 | 
			
		||||
 
 | 
			
		||||
@@ -152,7 +152,7 @@ xf86CVTMode(int HDisplay, int VDisplay, float VRefresh, Bool Reduced,
 | 
			
		||||
 | 
			
		||||
    if (!Reduced) { /* simplified GTF calculation */
 | 
			
		||||
 | 
			
		||||
        /* 4) Minimum time of vertical sync + back porch interval (<EFBFBD>s) 
 | 
			
		||||
        /* 4) Minimum time of vertical sync + back porch interval (µs) 
 | 
			
		||||
         * default 550.0 */
 | 
			
		||||
#define CVT_MIN_VSYNC_BP 550.0
 | 
			
		||||
 | 
			
		||||
@@ -223,7 +223,7 @@ xf86CVTMode(int HDisplay, int VDisplay, float VRefresh, Bool Reduced,
 | 
			
		||||
        Mode->VSyncEnd = Mode->VSyncStart + VSync;
 | 
			
		||||
 | 
			
		||||
    } else { /* Reduced blanking */
 | 
			
		||||
        /* Minimum vertical blanking interval time (<EFBFBD>s) - default 460 */
 | 
			
		||||
        /* Minimum vertical blanking interval time (µs) - default 460 */
 | 
			
		||||
#define CVT_RB_MIN_VBLANK 460.0
 | 
			
		||||
 | 
			
		||||
        /* Fixed number of clocks for horizontal sync */
 | 
			
		||||
 
 | 
			
		||||
@@ -3,8 +3,8 @@
 | 
			
		||||
 *
 | 
			
		||||
 * This version is for Solaris.
 | 
			
		||||
 *
 | 
			
		||||
 * Copyright <EFBFBD> 2000 VA Linux Systems, Inc.
 | 
			
		||||
 * Copyright <EFBFBD> 2001 The XFree86 Project, Inc.
 | 
			
		||||
 * Copyright © 2000 VA Linux Systems, Inc.
 | 
			
		||||
 * Copyright © 2001 The XFree86 Project, Inc.
 | 
			
		||||
 */
 | 
			
		||||
/* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
 | 
			
		||||
 *
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright <EFBFBD> 2000 Keith Packard
 | 
			
		||||
 * Copyright © 2000 Keith Packard
 | 
			
		||||
 *
 | 
			
		||||
 * Permission to use, copy, modify, distribute, and sell this software and its
 | 
			
		||||
 * documentation for any purpose is hereby granted without fee, provided that
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user