Skip to content
This repository has been archived by the owner on Apr 3, 2018. It is now read-only.

UTF-8 chinese character GoCode #31

Closed
sesteel opened this issue Jan 21, 2014 · 1 comment
Closed

UTF-8 chinese character GoCode #31

sesteel opened this issue Jan 21, 2014 · 1 comment

Comments

@sesteel
Copy link
Member

sesteel commented Jan 21, 2014

What steps will reproduce the problem?

  1. see this discussion : Alis of package name in Eclipse nsf/gocode#159 (comment)
  2. the code:
    package main

import (
"fmt"
)

func main() {
fmt.Printf("") // work
//世界
fmt.Printf("") // work
//體
fmt. // need one more english character to trigger the right list
//體體體體
fmt. // broken, if the chinese character above display more than one time
}

What is the expected output? What do you see instead?
Expected: the member function
Instead: all the problem situation is above.

What version of the product are you using? On what operating system?
Eclipse: Build id: 20130225-0426 (Juno)
Golipse: 0.7.6v439
Gocode: Newest Version ( Today )
Go: go1.1

Please provide any additional information below.
As the discussion in GoCode's GitHub issue,
some chinese character is decoded in wrong way.
Can it be fixed ?

@bruno-medeiros
Copy link
Contributor

Can't reproduce, reckon this was a gocode issue

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

No branches or pull requests

2 participants