[aur-general] Recommended Encoding for PKGBUILDS?
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. Regards, Philipp
On Thu, Jul 2, 2009 at 3:46 PM, <hollunder@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?
I have one: dvdwizard. Look at the contributor's name in the first line. If I download it, I can fix it, but when I upload it again, it becomes broken in just the same way. I'm using utf-8 across the board. This only appears to affect the PKGBUILD viewer - comments are fine. On Thu, Jul 2, 2009 at 10:08 AM, Xavier <shiningxc@gmail.com> wrote:
On Thu, Jul 2, 2009 at 3:46 PM, <hollunder@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?
On Thu, 2 Jul 2009 16:08:20 +0200 Xavier <shiningxc@gmail.com> wrote:
On Thu, Jul 2, 2009 at 3:46 PM, <hollunder@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 Ãœ.
The display of package files is not really a part of the AUR interface but handled by the web server. It do not send a charset in the header (Content-Type: text/plain ) which means that the encoding solely depends on the default of the web browser (which is usually iso-8859-1). I assume that one can set a default charset in lighttpd which should probably be done.
On Thu, Jul 2, 2009 at 4:23 PM, <hollunder@gmx.at> wrote:
On Thu, 2 Jul 2009 16:08:20 +0200 Xavier <shiningxc@gmail.com> wrote:
On Thu, Jul 2, 2009 at 3:46 PM, <hollunder@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
On Thu, Jul 2, 2009 at 4:25 PM, Xavier <shiningxc@gmail.com> wrote:
Try : View -> Encoding -> Auto detect -> Universal
I have that option set in Firefox and I can display both pkgbuilds fine. -- Rita Rudner <http://www.brainyquote.com/quotes/authors/r/rita_rudner.html> - "I was a vegetarian until I started leaning toward the sunlight."
On Thu, 2 Jul 2009 16:25:40 +0200 Xavier <shiningxc@gmail.com> wrote:
On Thu, Jul 2, 2009 at 4:23 PM, <hollunder@gmx.at> wrote:
On Thu, 2 Jul 2009 16:08:20 +0200 Xavier <shiningxc@gmail.com> wrote:
On Thu, Jul 2, 2009 at 3:46 PM, <hollunder@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.
On Thu, Jul 2, 2009 at 10:29 AM, <hollunder@gmx.at> wrote:
On Thu, 2 Jul 2009 16:25:40 +0200 Xavier <shiningxc@gmail.com> wrote:
On Thu, Jul 2, 2009 at 4:23 PM, <hollunder@gmx.at> wrote:
On Thu, 2 Jul 2009 16:08:20 +0200 Xavier <shiningxc@gmail.com> wrote:
On Thu, Jul 2, 2009 at 3:46 PM, <hollunder@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 Thu, 2 Jul 2009 10:34:44 -0400 Ray Kohler <ataraxia937@gmail.com> wrote:
On Thu, Jul 2, 2009 at 10:29 AM, <hollunder@gmx.at> wrote:
On Thu, 2 Jul 2009 16:25:40 +0200 Xavier <shiningxc@gmail.com> wrote:
On Thu, Jul 2, 2009 at 4:23 PM, <hollunder@gmx.at> wrote:
On Thu, 2 Jul 2009 16:08:20 +0200 Xavier <shiningxc@gmail.com> wrote:
On Thu, Jul 2, 2009 at 3:46 PM, <hollunder@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
On Thu, Jul 2, 2009 at 4:52 PM, <hollunder@gmx.at> wrote:
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
This is web server (lighttpd) setting again. It's possible to specify that files with .diff or .patch extension are actually of type text/plain and not application/octet-stream , but this was not done. I am not sure what you can do on the client / web browser side.
2009/7/2 Xavier <shiningxc@gmail.com>:
On Thu, Jul 2, 2009 at 4:52 PM, <hollunder@gmx.at> wrote:
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
This is web server (lighttpd) setting again. It's possible to specify that files with .diff or .patch extension are actually of type text/plain and not application/octet-stream , but this was not done.
I am not sure what you can do on the client / web browser side.
I think it is not just the patch, looking around, e.g. "LICENSE" files and everything else beside PKGBUILDs are also shown as "application/octet-stream". Greg
Xavier schrieb:
This is web server (lighttpd) setting again. It's possible to specify that files with .diff or .patch extension are actually of type text/plain and not application/octet-stream , but this was not done.
I am not sure what you can do on the client / web browser side.
Nothing really. The correct MIME type must be set on the server. There is a section for website problems on the tracker, maybe that should be posted there.
participants (7)
-
Arkham
-
Cedric Staniewski
-
Gergely Imreh
-
hollunder@gmx.at
-
Ray Kohler
-
Thomas Bächler
-
Xavier