Skip to content
New issue

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

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

Already on GitHub? # to your account

UTF-8 chinese character GoCode #156

Open
GoogleCodeExporter opened this issue Mar 26, 2015 · 0 comments
Open

UTF-8 chinese character GoCode #156

GoogleCodeExporter opened this issue Mar 26, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link
Contributor

What steps will reproduce the problem?
1. see this discussion : 
https://github.com/nsf/gocode/issues/159#issuecomment-24826213

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 ?

Original issue reported on code.google.com by spontane...@gmail.com on 20 Sep 2013 at 5:42

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

No branches or pull requests

1 participant