From: mysql.jorge at decimal.pt (Jorge Bastos)
Subject: Encoding problem
Date: Sat, 5 Oct 2013 11:32:54 +0100 [thread overview]
Message-ID: <002101cec1b6$40b20420$c2160c60$@jorge@decimal.pt> (raw)
In-Reply-To: <20130930103351.GG27238@serenity.lan>
> On Sat, Sep 28, 2013 at 12:19:38AM +0100, Jorge Bastos wrote:
> > Is it possible to define charset in cgitrc?
> >
> > I'm having encoding problems in the frontend, in the latest version
> > 1.8.4 from version 0.9.2, and now non-ascii chars are shown with ??
> or
> > some other char instead of the correct one.
> >
> >
> >
> > Is there a charset option for cgit ? I can't find it.
>
> The charset is hardcoded to "UTF-8", which should be the default
> encoding for Git commit messages and CGit does attempt to transcode Git
> messages to the correct encoding.
>
> Are you seeing '??' in the commit message or in blob/tree content?
>
> Do you have a public repository that is exhibiting these symptoms?
Hi John,
I was checking and the file in question was indeed in ANSI, changed the file
encoding to utf8 and it's OK.
Anyway, I have gitweb install side-by-side, and in gitweb it was shown
correctly.
I have other places where chars are not shown OK but didn't get any
conclution about the file encoding, I'll tell you later,
next prev parent reply other threads:[~2013-10-05 10:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-27 23:19 mysql.jorge
2013-09-30 10:33 ` john
2013-10-05 10:32 ` mysql.jorge [this message]
2013-10-06 10:46 ` john
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='002101cec1b6$40b20420$c2160c60$@jorge@decimal.pt' \
--to=cgit@lists.zx2c4.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).