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

Assets-Import bug: Chinese characters shows like "???" #2921

Closed
linglongtong opened this issue Nov 15, 2016 · 10 comments
Closed

Assets-Import bug: Chinese characters shows like "???" #2921

linglongtong opened this issue Nov 15, 2016 · 10 comments

Comments

@linglongtong
Copy link

I use import function to import my asset information, just test one item.
I click the process button, then an error shows:

Warning The following Items were not imported because of errors.
Asset Errors
empty Asset: The asset tag field is required.

Here is the error snapshot:
error

Here is my test csv file:
test.zip

Please help check the problem.

  • Version of Snipe-IT you're running: v 3.4
  • What OS and web server you're running Snipe-IT on : SUSE LINUX 11 ENTERPRISE
@snipe
Copy link
Owner

snipe commented Nov 15, 2016

Looks like you have some weird encoding going on in your CSV.

screen shot 2016-11-15 at 1 40 15 am

screen shot 2016-11-15 at 1 41 31 am

@linglongtong
Copy link
Author

Yes, the problem is from the weird encoding.
The weird encoding is Chinese characters which Snipe-IT cannot support.
If I use English characters instead of Chinese characters, it can be imported correctly.

Can you make Snipe-IT support Chinese characters importing? I think China will have many potential users.

The Chinese characters should be like this:
image

Here is the CSV without Chinese characters.
test.zip

@now163
Copy link

now163 commented Nov 16, 2016

I have the same problem. Using different encoding, utf-8 and utf-8 without bom.
Not support chinese. But export is ok.
qq 20161116170624

@zdong08
Copy link

zdong08 commented Nov 17, 2016

When importing the Chinese garbled @linglongtong Have you solved the problem
image

@now163
Copy link

now163 commented Nov 18, 2016

#2740

@linglongtong
Copy link
Author

linglongtong commented Nov 21, 2016

Now I can import the csv file with Chinese characters through the web interface, but the Chinese characters show like "???".

image

@snipe Please help fix the bug. Better to support both Simplified Chinese and Traditional Chinese encoding. Thanks in advance.

Attached the tested csv file:
test.zip

Anything need my help, please contact me.

@linglongtong linglongtong changed the title asset import error-The asset tag field is required. Assets-Import bug: Chinese characters shows like "???" Nov 21, 2016
@linglongtong
Copy link
Author

@G1Hu6m0n1t0r It works well. Thank you for your contribution.

@chenboshiun-zz
Copy link

@G1Hu6m0n1t0r thanks.

@Nabeel-Shahid
Copy link

I was having similar issues when trying to import Unicode (Arabic) Asset names.

Thanks for help!

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

No branches or pull requests

7 participants
@snipe @chenboshiun-zz @now163 @zdong08 @linglongtong @Nabeel-Shahid and others