rainycape / unidecode Goto Github PK
View Code? Open in Web Editor NEWUnicode transliterator in Golang - Replaces non-ASCII characters with their ASCII approximations.
License: Apache License 2.0
Unicode transliterator in Golang - Replaces non-ASCII characters with their ASCII approximations.
License: Apache License 2.0
Decoding a string with a unicode rune of U+10000 โ ๐
โ results in a panic. The reason is line 45 in unidecode.go
, which allows the aforementioned unicode character to slip through..
if c > unicode.MaxRune || c > transCount {
..causing an "index out of range" error in line 49. Changing this to..
if c > unicode.MaxRune || c >= transCount {
..fixes the problem.
Hello,
Can you please tag and version this project?
I am the Debian Maintainer for unidecode and versioning would help Debian keep up with development.
Hi,
I'm having difficulties cloning or go get
ting this package.
If I run go get gopkgs.com/unidecode.v1
I get error saying:
~/Github $ go get gopkgs.com/unidecode.v1
# cd .; git clone http://gopkgs.com/unidecode.v1 /Users/juuso/.gvm/pkgsets/go1.3.3/global/src/gopkgs.com/unidecode.v1
Cloning into '/Users/juuso/.gvm/pkgsets/go1.3.3/global/src/gopkgs.com/unidecode.v1'...
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: unpack-objects failed
package gopkgs.com/unidecode.v1: exit status 128
Running git clone http://gopkgs.com/unidecode.v1
prints:
~/Github $ git clone http://gopkgs.com/unidecode.v1
Cloning into 'unidecode.v1'...
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: unpack-objects failed
However, forking your project and cloning it works fine. Therefore I'd expect there would be something wrong with gopkgs.com
.
I'd appreciate if you could take a look at this matter, as some projects which have the old repository as dependency are failing go build
's on Linux.
Once this package is working, I could notify the other repository owners about the issue. Otherwise I'm afraid I need to do some major vendoring on my application.
Here are my current software versions as well:
git version 2.0.1
go version go1.3.3 darwin/amd64
Although, as I use version manager I can say that changing the go version to 1.2 does not help either.
Hello!
I am packaging unidecode for Debian and I woulld like clarifications on who is the copyright owner.
Rainycape was the one to commit the license (4d52591). so I assume that the owner is the following:
2014 Rainy Cape S.L. <[email protected]>
Is that correct?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.