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:
Matěj Cepl 2011-06-17 15:26:17 +01:00 committed by Peter Hutterer
parent 2ee85d954c
commit b27d61e443
34 changed files with 48 additions and 48 deletions

View File

@ -1,7 +1,7 @@
/* /*
* Copyright © 2001 Keith Packard * Copyright © 2001 Keith Packard
* *
* Partly based on code that is Copyright © 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 * Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that * documentation for any purpose is hereby granted without fee, provided that

View File

@ -1,7 +1,7 @@
/* /*
* Copyright © 2001 Keith Packard * Copyright © 2001 Keith Packard
* *
* Partly based on code that is Copyright © 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 * Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that * documentation for any purpose is hereby granted without fee, provided that
@ -23,7 +23,7 @@
* *
* Authors: * Authors:
* Eric Anholt <eric@anholt.net> * Eric Anholt <eric@anholt.net>
* Michel Dänzer <michel@tungstengraphics.com> * Michel Dänzer <michel@tungstengraphics.com>
* *
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright © 2009 Maarten Maathuis * Copyright © 2009 Maarten Maathuis
* *
* Permission is hereby granted, free of charge, to any person obtaining a * Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"), * copy of this software and associated documentation files (the "Software"),

View File

@ -1,5 +1,5 @@
/* /*
* Copyright © 2009 Maarten Maathuis * Copyright © 2009 Maarten Maathuis
* *
* Permission is hereby granted, free of charge, to any person obtaining a * Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"), * copy of this software and associated documentation files (the "Software"),

View File

@ -1,5 +1,5 @@
/* /*
* Copyright © 2006 Intel Corporation * Copyright © 2006 Intel Corporation
* *
* Permission is hereby granted, free of charge, to any person obtaining a * Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"), * copy of this software and associated documentation files (the "Software"),
@ -22,7 +22,7 @@
* *
* Authors: * Authors:
* Eric Anholt <eric@anholt.net> * Eric Anholt <eric@anholt.net>
* Michel Dänzer <michel@tungstengraphics.com> * Michel Dänzer <michel@tungstengraphics.com>
* *
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright © 2009 Maarten Maathuis * Copyright © 2009 Maarten Maathuis
* *
* Permission is hereby granted, free of charge, to any person obtaining a * Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"), * copy of this software and associated documentation files (the "Software"),

View File

@ -1,5 +1,5 @@
/* /*
* Copyright © 2009 Maarten Maathuis * Copyright © 2009 Maarten Maathuis
* *
* Permission is hereby granted, free of charge, to any person obtaining a * Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"), * copy of this software and associated documentation files (the "Software"),

View File

@ -1,6 +1,6 @@
/* /*
* *
* Copyright © 1999 Keith Packard * Copyright © 1999 Keith Packard
* *
* Permission to use, copy, modify, distribute, and sell this software and its * Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that * documentation for any purpose is hereby granted without fee, provided that

View File

@ -2,7 +2,7 @@
* Xephyr - A kdrive X server thats runs in a host X window. * Xephyr - A kdrive X server thats runs in a host X window.
* Authored by Matthew Allum <mallum@openedhand.com> * Authored by Matthew Allum <mallum@openedhand.com>
* *
* Copyright © 2004 Nokia * Copyright © 2004 Nokia
* *
* Permission to use, copy, modify, distribute, and sell this software and its * Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that * documentation for any purpose is hereby granted without fee, provided that

View File

@ -2,7 +2,7 @@
* Xephyr - A kdrive X server thats runs in a host X window. * Xephyr - A kdrive X server thats runs in a host X window.
* Authored by Matthew Allum <mallum@o-hand.com> * Authored by Matthew Allum <mallum@o-hand.com>
* *
* Copyright © 2004 Nokia * Copyright © 2004 Nokia
* *
* Permission to use, copy, modify, distribute, and sell this software and its * Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that * documentation for any purpose is hereby granted without fee, provided that

View File

@ -1,5 +1,5 @@
/* /*
* Copyright © 2006 Intel Corporation * Copyright © 2006 Intel Corporation
* *
* Permission is hereby granted, free of charge, to any person obtaining a * Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"), * copy of this software and associated documentation files (the "Software"),

View File

@ -2,7 +2,7 @@
* Xephyr - A kdrive X server thats runs in a host X window. * Xephyr - A kdrive X server thats runs in a host X window.
* Authored by Matthew Allum <mallum@o-hand.com> * Authored by Matthew Allum <mallum@o-hand.com>
* *
* Copyright © 2004 Nokia * Copyright © 2004 Nokia
* *
* Permission to use, copy, modify, distribute, and sell this software and its * Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that * documentation for any purpose is hereby granted without fee, provided that

View File

@ -2,7 +2,7 @@
* Xephyr - A kdrive X server thats runs in a host X window. * Xephyr - A kdrive X server thats runs in a host X window.
* Authored by Matthew Allum <mallum@o-hand.com> * Authored by Matthew Allum <mallum@o-hand.com>
* *
* Copyright © 2004 Nokia * Copyright © 2004 Nokia
* *
* Permission to use, copy, modify, distribute, and sell this software and its * Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that * documentation for any purpose is hereby granted without fee, provided that

View File

@ -2,7 +2,7 @@
* Xephyr - A kdrive X server thats runs in a host X window. * Xephyr - A kdrive X server thats runs in a host X window.
* Authored by Matthew Allum <mallum@o-hand.com> * Authored by Matthew Allum <mallum@o-hand.com>
* *
* Copyright © 2004 Nokia * Copyright © 2004 Nokia
* *
* Permission to use, copy, modify, distribute, and sell this software and its * Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that * documentation for any purpose is hereby granted without fee, provided that

View File

@ -2,7 +2,7 @@
* Xephyr - A kdrive X server thats runs in a host X window. * Xephyr - A kdrive X server thats runs in a host X window.
* Authored by Matthew Allum <mallum@o-hand.com> * Authored by Matthew Allum <mallum@o-hand.com>
* *
* Copyright © 2004 Nokia * Copyright © 2004 Nokia
* *
* Permission to use, copy, modify, distribute, and sell this software and its * Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that * documentation for any purpose is hereby granted without fee, provided that

View File

@ -1,5 +1,5 @@
/* /*
* Copyright © 1999 Keith Packard * Copyright © 1999 Keith Packard
* *
* Permission to use, copy, modify, distribute, and sell this software and its * Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that * documentation for any purpose is hereby granted without fee, provided that

View File

@ -1,5 +1,5 @@
/* /*
* Copyright © 1999 Keith Packard * Copyright © 1999 Keith Packard
* *
* Permission to use, copy, modify, distribute, and sell this software and its * Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that * documentation for any purpose is hereby granted without fee, provided that

View File

@ -1,5 +1,5 @@
/* /*
* Copyright © 1999 Keith Packard * Copyright © 1999 Keith Packard
* *
* Permission to use, copy, modify, distribute, and sell this software and its * Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that * documentation for any purpose is hereby granted without fee, provided that

View File

@ -1,5 +1,5 @@
/* /*
* Copyright © 1999 Keith Packard * Copyright © 1999 Keith Packard
* *
* Permission to use, copy, modify, distribute, and sell this software and its * Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that * documentation for any purpose is hereby granted without fee, provided that

View File

@ -1,10 +1,10 @@
/* /*
* Copyright © 1999 Keith Packard * Copyright © 1999 Keith Packard
* XKB integration © 2006 Nokia Corporation, author: Tomas Frydrych <tf@o-hand.com> * XKB integration © 2006 Nokia Corporation, author: Tomas Frydrych <tf@o-hand.com>
* *
* LinuxKeyboardRead() XKB code based on xf86KbdLnx.c: * LinuxKeyboardRead() XKB code based on xf86KbdLnx.c:
* Copyright © 1990,91 by Thomas Roell, Dinkelscherben, Germany. * Copyright © 1990,91 by Thomas Roell, Dinkelscherben, Germany.
* Copyright © 1994-2001 by The XFree86 Project, Inc. * Copyright © 1994-2001 by The XFree86 Project, Inc.
* *
* Permission is hereby granted, free of charge, to any person obtaining a * Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"), * copy of this software and associated documentation files (the "Software"),

View File

@ -1,5 +1,5 @@
/* /*
* Copyright © 1999 Keith Packard * Copyright © 1999 Keith Packard
* *
* Permission to use, copy, modify, distribute, and sell this software and its * Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that * documentation for any purpose is hereby granted without fee, provided that

View File

@ -1,5 +1,5 @@
/* /*
* Copyright © 2001 Keith Packard * Copyright © 2001 Keith Packard
* *
* Permission to use, copy, modify, distribute, and sell this software and its * Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that * documentation for any purpose is hereby granted without fee, provided that

View File

@ -1,5 +1,5 @@
/* /*
* Copyright © 1999 Keith Packard * Copyright © 1999 Keith Packard
* *
* Permission to use, copy, modify, distribute, and sell this software and its * Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that * documentation for any purpose is hereby granted without fee, provided that

View File

@ -4,11 +4,11 @@
* Derived from ts.c by Keith Packard * Derived from ts.c by Keith Packard
* Derived from ps2.c by Jim Gettys * Derived from ps2.c by Jim Gettys
* *
* Copyright © 1999 Keith Packard * Copyright © 1999 Keith Packard
* Copyright © 2000 Compaq Computer Corporation * Copyright © 2000 Compaq Computer Corporation
* Copyright © 2002 MontaVista Software Inc. * Copyright © 2002 MontaVista Software Inc.
* Copyright © 2005 OpenedHand Ltd. * Copyright © 2005 OpenedHand Ltd.
* Copyright © 2006 Nokia Corporation * Copyright © 2006 Nokia Corporation
* *
* Permission to use, copy, modify, distribute, and sell this software and its * Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that * documentation for any purpose is hereby granted without fee, provided that

View File

@ -1,5 +1,5 @@
/* /*
* Copyright © 1999 Keith Packard * Copyright © 1999 Keith Packard
* *
* Permission to use, copy, modify, distribute, and sell this software and its * Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that * documentation for any purpose is hereby granted without fee, provided that

View File

@ -1,5 +1,5 @@
/* /*
* Copyright © 1999 Keith Packard * Copyright © 1999 Keith Packard
* *
* Permission to use, copy, modify, distribute, and sell this software and its * Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that * documentation for any purpose is hereby granted without fee, provided that

View File

@ -1,5 +1,5 @@
/* /*
* Copyright © 1999 Keith Packard * Copyright © 1999 Keith Packard
* *
* Permission to use, copy, modify, distribute, and sell this software and its * Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that * documentation for any purpose is hereby granted without fee, provided that

View File

@ -1,6 +1,6 @@
/* /*
* Copyright © 1999 Keith Packard * Copyright © 1999 Keith Packard
* Copyright © 2006 Nokia Corporation * Copyright © 2006 Nokia Corporation
* *
* Permission to use, copy, modify, distribute, and sell this software and its * Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that * documentation for any purpose is hereby granted without fee, provided that

View File

@ -1,5 +1,5 @@
/* /*
* Copyright © 1999 Keith Packard * Copyright © 1999 Keith Packard
* *
* Permission to use, copy, modify, distribute, and sell this software and its * Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that * documentation for any purpose is hereby granted without fee, provided that

View File

@ -1,5 +1,5 @@
/* /*
* Copyright © 2006 Intel Corporation * Copyright © 2006 Intel Corporation
* *
* Permission is hereby granted, free of charge, to any person obtaining a * Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"), * copy of this software and associated documentation files (the "Software"),

View File

@ -1,5 +1,5 @@
/* /*
* Copyright © 2006 Intel Corporation * Copyright © 2006 Intel Corporation
* *
* Permission is hereby granted, free of charge, to any person obtaining a * Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"), * copy of this software and associated documentation files (the "Software"),

View File

@ -152,7 +152,7 @@ xf86CVTMode(int HDisplay, int VDisplay, float VRefresh, Bool Reduced,
if (!Reduced) { /* simplified GTF calculation */ if (!Reduced) { /* simplified GTF calculation */
/* 4) Minimum time of vertical sync + back porch interval (µs) /* 4) Minimum time of vertical sync + back porch interval (µs)
* default 550.0 */ * default 550.0 */
#define CVT_MIN_VSYNC_BP 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; Mode->VSyncEnd = Mode->VSyncStart + VSync;
} else { /* Reduced blanking */ } else { /* Reduced blanking */
/* Minimum vertical blanking interval time (µs) - default 460 */ /* Minimum vertical blanking interval time (µs) - default 460 */
#define CVT_RB_MIN_VBLANK 460.0 #define CVT_RB_MIN_VBLANK 460.0
/* Fixed number of clocks for horizontal sync */ /* Fixed number of clocks for horizontal sync */

View File

@ -3,8 +3,8 @@
* *
* This version is for Solaris. * This version is for Solaris.
* *
* Copyright © 2000 VA Linux Systems, Inc. * Copyright © 2000 VA Linux Systems, Inc.
* Copyright © 2001 The XFree86 Project, Inc. * Copyright © 2001 The XFree86 Project, Inc.
*/ */
/* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. /* Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
* *

View File

@ -1,5 +1,5 @@
/* /*
* Copyright © 2000 Keith Packard * Copyright © 2000 Keith Packard
* *
* Permission to use, copy, modify, distribute, and sell this software and its * Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that * documentation for any purpose is hereby granted without fee, provided that