[aur-general] Recommended Encoding for PKGBUILDS?
hollunder at gmx.at
hollunder at gmx.at
Thu Jul 2 10:52:06 EDT 2009
On Thu, 2 Jul 2009 10:34:44 -0400
Ray Kohler <ataraxia937 at gmail.com> wrote:
> On Thu, Jul 2, 2009 at 10:29 AM, <hollunder at gmx.at> wrote:
>
> > On Thu, 2 Jul 2009 16:25:40 +0200
> > Xavier <shiningxc at gmail.com> wrote:
> >
> > > On Thu, Jul 2, 2009 at 4:23 PM, <hollunder at gmx.at> wrote:
> > > > On Thu, 2 Jul 2009 16:08:20 +0200
> > > > Xavier <shiningxc at gmail.com> wrote:
> > > >
> > > >> On Thu, Jul 2, 2009 at 3:46 PM, <hollunder at gmx.at> wrote:
> > > >> > Hi there,
> > > >> > I noticed a while ago that the AUR webinterface doesn't show
> > > >> > my name correctly when the character encoding in the
> > > >> > PKGBUILD is utf-8.
> > > >> >
> > > >> > Is there a recommended encoding?
> > > >> > iso-8859-1?
> > > >> > Something else?
> > > >> >
> > > >> > I'm asking because I'm checking through my 50 PKGBUILD files
> > > >> > and want to avoid issues in future.
> > > >> >
> > > >>
> > > >> afaik the recommended encoding is utf8.
> > > >> see for instance : http://bugs.archlinux.org/task/9150
> > > >>
> > > >> Maybe there is a problem with AUR.
> > > >> I cannot find you there though, so do you mind giving a link
> > > >> to a problematic pkgbuild?
> > > >
> > > > Here's a link to one of my packages where the PKGBUILD uses
> > > > utf-8:
> > > > http://aur.archlinux.org/packages/galan-git/galan-git/PKGBUILD
> > > >
> > > > The first letter is supposed to be a German Umlaut Ü but at
> > > > least in firefox it shows the two characters Ü.
> > > >
> > >
> > > Try : View -> Encoding -> Auto detect -> Universal
> >
> > Thanks, this works, but:
> > it was set to utf-8, so this makes me believe that there's still
> > something wrong somewhere.
> >
>
> The galan-git PKGBUILD looked fine to me without changing anything,
> but my dvdwizard one only looked right after setting "Auto Detect ->
> Universal". Weird.
On a somewhat related note, I wrote a patch today, and firefox thinks
it's a binary or something and tries to download it instead of showing
me the text: http://aur.archlinux.org/packages/acweight/acweight/
What did I do wrong there?
The patch was created using:
diff -u acweight/Makefile Makefile > destdircp.patch
More information about the aur-general
mailing list