Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error generating changelog #17

Closed
rderoldan1 opened this issue Aug 22, 2013 · 10 comments · Fixed by #18
Closed

Error generating changelog #17

rderoldan1 opened this issue Aug 22, 2013 · 10 comments · Fixed by #18

Comments

@rderoldan1
Copy link
Contributor

% katip  
/usr/local/rvm/gems/ruby-1.9.3-p392/gems/katip-1.1.0/bin/katip:66:in `gsub!': invalid byte sequence in US-ASCII (ArgumentError)

I think is probably because I has some spanish characters in my commits (á, ú, í)

@baygunm
Copy link
Contributor

baygunm commented Aug 22, 2013

Thanks for opening issue. If you provide one or more sample commit notes, we can test and resolve this bug.

@baygunm
Copy link
Contributor

baygunm commented Aug 22, 2013

Thanks for opening issue. If you provide one or more sample commit notes,
we can test and resolve this bug.

22 Aðustos 2013 Perþembe tarihinde Ruben Espinosa adlý kullanýcý þöyle
yazdý:

% katip
/usr/local/rvm/gems/ruby-1.9.3-p392/gems/katip-1.1.0/bin/katip:66:in `gsub!': invalid byte sequence in US-ASCII (ArgumentError)

I think is probably because I has some spanish characters in my commits
(á, ú, í)

Reply to this email directly or view it on GitHubhttps://github.com//issues/17
.

Saygýlarýmla,
Ýyi çalýþmalar

Murat Kemal BAYGÜN
lab2023 - internet teknolojileri
www.lab2023.com

Adres: Pamukkale Üniversitesi Teknoloji Geliþtirme Bölgesi
Kuluçka Merkezi ve Ýdari Binasý B-Blok Z13 Kýnýklý / Denizli / TÜRKÝYE
Telefon: +90 258 215 50 10 - E-posta: info@lab2023.com

@rderoldan1
Copy link
Contributor Author

Look a couple of my commits:

corrección actulizando beneficiario
corrección en validacion beneficiarios
error obteniendo el país
ciudad y país en sesiones

In some of my spanish projects I had to tell ruby for use utf-8 and it works for me, example

# encodign: utf-8
class Myclass
  ..
end

@rderoldan1
Copy link
Contributor Author

If I run the command specifying the encoding it works

% LANG=utf-8 katip
Create CHANGELOG.md

@onurozgurozkan
Copy link

@rderoldan1 thanks for feedback.

@baygunm
Copy link
Contributor

baygunm commented Aug 26, 2013

Thanks for the update.

@baygunm
Copy link
Contributor

baygunm commented Aug 27, 2013

@rderoldan1
Will you send the previous value of LANG variable before setting?

%echo $LANG

I'm looking forward for your result

@rderoldan1
Copy link
Contributor Author

The LANG command doesn't return anything, the error is related with non US_ASCII character, because in my commits I use UTF-8 characters
Ruben Espinosa Roldan
rderoldan1@gmail.com

On 27/08/2013, at 3:55, Murat Kemal BAYGÜN notifications@github.com wrote:

@rderoldan1
Will you send the previous value of LANG variable before setting?

%echo $LANG
I'm looking forward for your result


Reply to this email directly or view it on GitHub.

@baygunm
Copy link
Contributor

baygunm commented Aug 28, 2013

Thanks Ruben
But we cannot regenerate the bug with your sample comments, even with LANG is not set.
So maybe we will be asking you to test some development code and send the result if it works.
If ok we will send you the gem in development after working on some possible solutions.

By this time you can continue using gem with your workaround (Setting LANG variable with utf-8 and running katip)

% LANG=utf-8 katip
Create CHANGELOG.md

@rderoldan1
Copy link
Contributor Author

I'm using your gem as you tell me, probably the issue is reflected in this commit
corrección en presición decimales

The output in the changelog.md is

6da3c13 corrección en presición decimales (Ruben Espinosa)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants