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

x/text/currency: rouble symbol is only printed with language.Russian #29052

Open
ainar-g opened this issue Dec 1, 2018 · 1 comment
Open

x/text/currency: rouble symbol is only printed with language.Russian #29052

ainar-g opened this issue Dec 1, 2018 · 1 comment
Milestone

Comments

@ainar-g
Copy link
Contributor

@ainar-g ainar-g commented Dec 1, 2018

What version of Go are you using (go version)?

$ go version
go version go1.11 linux/amd64

Does this issue reproduce with the latest release?

Yes.

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/ainar/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/ainar/go"
GOPROXY=""
GORACE=""
GOROOT="/home/ainar/go/go1.11"
GOTMPDIR=""
GOTOOLDIR="/home/ainar/go/go1.11/pkg/tool/linux_amd64"
GCCGO="/usr/bin/gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build112907181=/tmp/go-build -gno-record-gcc-switches"

What did you do?

https://play.golang.org/p/umgrxwND7k4

(Using floats because #15274.)

What did you expect to see?

₽ 100.00 = € 1.33
100.00 ₽ = 1.33 €
100.00 ₽ = 1.33 €

What did you see instead?

RUB 100.00 = € 1.33
RUB 100.00 = € 1.33
₽ 100.00 = € 1.33

There is #14308 about the symbol position, but I don't understand why the rouble symbol is only used when I use language.Russian, while the euro symbol is used in all cases.

@gopherbot gopherbot added this to the Unreleased milestone Dec 1, 2018
@jarifibrahim

This comment has been minimized.

Copy link

@jarifibrahim jarifibrahim commented Dec 1, 2018

I would like to work on this issue. Can someone help me get started? I am not sure where I should be looking.

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.