ср, 29 июл. 2020 г. в 10:17, Harald Klimach :
>
> I just changed
> application = hgweb(config)
> to
> application = hgweb(config.encode("utf-8"))
>
> Is this the correct approach? And if so, wouldn't it be appropriate to
> suggest something similar in the hgweb.cgi file?
Sorry for the delayed
> On 4 Aug 2020, at 11:16, Harald Klimach wrote:
>
> Hi,
>
>> My guess is that OpenBSD does not play well with locales AFAIR. I don’t need
>> this parameter on FreeBSD but FreeBSD exposes en_US.UTF-8 locale completely.>
>> Is there a command locale on OpenBSD? If yes can you show it?
> I
Hi,
> My guess is that OpenBSD does not play well with locales AFAIR. I don’t need
> this parameter on FreeBSD but FreeBSD exposes en_US.UTF-8 locale completely.>
> Is there a command locale on OpenBSD? If yes can you show it?
I didn't set locales on the system and it is set to "C" aside from
> On 29 Jul 2020, at 12:09, Harald Klimach wrote:
>
> Hi,
>
> I ran into a problem with hgweb.cgi in Mercurial 5.3.2 with Python 3.7.7
> on OpenBSD 6.7: It complained that mercurial only accepts encoded strings.
> I fixed this by adding a .encode("utf-8") to the config string, but this
> is
Hi,
ran into this problem a few ago aswell, see below.
I'm using the cgi script, but I guess you need to do something similar.
Best,
Harald
Weitergeleitete Nachricht
Betreff: hgweb.cgi requires encoded config string?
Datum: Wed, 29 Jul 2020 12:09:35 +0200
Von: Harald Klimach
Hi,
I ran into a problem with hgweb.cgi in Mercurial 5.3.2 with Python 3.7.7
on OpenBSD 6.7: It complained that mercurial only accepts encoded strings.
I fixed this by adding a .encode("utf-8") to the config string, but this
is not mentioned in the hgweb.cgi template installed along with