You are not logged in.
I'm trying to download PKGBUILDs and text files with links, but all the downloads are garbled. I know that what I'm downloading is plaintext. How can I fix this?
Offline
What files are you downloading? What client are you using (web browser, wget, etc.)? There's not really enough information here to help.
Offline
To reproduce:
1. Open links
2. Press g, go to aur.archlinux.org
3. Search for yaourt, "click" on it
4. "Click" Files
5. Press "d" when hovering over PKGBUILD
This is what I get
^_<8B>^H^@<A0><B4><89>J^@^CeR<DB>n<DA>@^P}<AE><BF>bD<91>^L^O<D8>@RCQ^]^U<85>*
<A1>IU<94><8B>*<B5><AA><AA>e=<86>^U<F6><AE><B5>^W^Li<FA><EF><9D>^E<B7>A<8A>^_
<AC>9;<BB>gfΙ<B7>0uv<AD><F4>^D><BB>B<A0><84>/<F3><FB><CB>뛯<DF><E6>^O<DF><E1>C̈́
<FC><C8>4_^WB<BA>]<94>닠ڬ$+1<DD>3<E5><B4><F5>p<8B>:<ED>G<EF><A3>a<94>x<A8><B1>H
^G><C8><D0><F0><B4>5<85>^E<E3>%<93><90>k%-<CA>^Lja<D7>P*<8D><90>#<B3>N<A3>^AF
<C7><D3><C7>;0<AE><AA><94><B6>|Ѵ#<92>q^B<BB>q<F2>+9<87><AA><E2><DD><C0><E9>"m
<AD><AD><AD>&q\<D7>ut<DA>[|l<A9><87>2&<82>Bp<94>^F<D3><D6><D5><E2><96>`<86>^U
<D5>6i'<AC>Wh3<91><E7>Ί<C2>P\^]:<BC>H<CF>h<86>~<U+0605><A0>dyA^O,<EE>l<D8>^MTe_
<8E><99><D3>[eq^B<FE>^O<B9>Ґ<B3><AD>҂^@^Qn<U+060A>^F<A3><A1><CB><C3>d>-$/<9C>^QJR^D?<B8>*K'<85><DD><FF>^L^Ch<BE><90>;cU)<9E><90><F4><9B>^@s^D<98>^U<9C>^UŞ$<A3>
<9E><U+1F0E39>z<9C><DF><CE> sZ<C8>^UQ^YK<E9><D8>U+<CD>2<<E1>:N<D5><E3><AA><F0>
<F6><E6><CE>s^\^@<D1>g<A0><9C><AD><9C>=-<ED>S^<95>ɫ[Gˎ<F2>B<U+F484>h<AA>6[^P50X
<D2>ܮ"m<D0><F2><C6>^N<CD>麡<88>c<DA>i<9C><F3><AE> <BF>[<E4>^Z<A2><B7>N<99>
<D8>{^]<B7><9B><F5><FA>^_<F4><DA><C7>^M<8B><8C><E6><91>e:Z=u<83>2{g\<E9>=^X<8C>
<C7>9<F2>刏<CE><FB><83><E1>x<C4>9K<FA><C3>1[<9E><E5><C3>^L<93><9C>j^GK'<8A><AC>Ӆ<DF>^P<BC><E1>^Y<B4><A9>Um3<A1>c<A2>|U<87><EE>x<F3><FF><C9>
<B3>O<F7>^O<B3><F9>]<EA><D3><F4>^F<9E><9F>A#-<AD><84>A<F0>'<F8>^K<F7>^^t<B3>>^C
^@^@If I actually navigate to the file and press Esc, "File," "Save formatted document," I can get the text, but patches and the like fail md5sum checks cause there's extra spaces on the bottom or something I suppose.
Offline
From the header info of the PKGBUILD file:
Content-Encoding: gzipThe server seems to be serving the file compressed using gzip. Thus, all you need to do is to rename the file to <filename>.gz, and then decompress it using
gunzip file.gzOffline