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

Hexadecimal output? #436

Closed
stychu opened this issue Jan 23, 2022 · 1 comment
Closed

Hexadecimal output? #436

stychu opened this issue Jan 23, 2022 · 1 comment

Comments

@stychu
Copy link

stychu commented Jan 23, 2022

Why im getting such output

[
  {
    '��i\x00d\x00': '\x001\x000\x000\x00',
    '\x00n\x00a\x00m\x00e\x00': '\x00J\x00o\x00h\x00n\x00 \x00D\x00o\x00e\x00',
    '\x00e\x00m\x00a\x00i\x00l\x00': '\x00j\x00o\x00h\x00n\x00@\x00w\x00e\x00b\x00s\x00i\x00t\x00e\x00.\x00c\x00o\x00m\x00',
    '\x00c\x00o\x00u\x00n\x00t\x00r\x00y\x00': '\x00U\x00S\x00',
    '\x00a\x00g\x00e\x00': '\x003\x005\x00'
  },
  {
    '��i\x00d\x00': '\x001\x000\x001\x00',
    '\x00n\x00a\x00m\x00e\x00': '\x00J\x00a\x00n\x00e\x00 \x00D\x00o\x00e\x00',
    '\x00e\x00m\x00a\x00i\x00l\x00': '\x00j\x00a\x00n\x00e\x00@\x00w\x00e\x00b\x00s\x00i\x00t\x00e\x00.\x00c\x00o\x00m\x00',
    '\x00c\x00o\x00u\x00n\x00t\x00r\x00y\x00': '\x00U\x00K\x00',
    '\x00a\x00g\x00e\x00': '\x003\x000\x00'
  },
  {
    '��i\x00d\x00': '\x001\x000\x002\x00',
    '\x00n\x00a\x00m\x00e\x00': '\x00J\x00o\x00h\x00n\x00 \x00L\x00e\x00e\x00',
    '\x00e\x00m\x00a\x00i\x00l\x00': '\x00j\x00o\x00h\x00n\x00@\x00w\x00e\x00b\x00s\x00i\x00t\x00e\x00.\x00c\x00o\x00m\x00',
    '\x00c\x00o\x00u\x00n\x00t\x00r\x00y\x00': '\x00F\x00R\x00',
    '\x00a\x00g\x00e\x00': '\x002\x000\x00'
  },
  {
    '��i\x00d\x00': '\x001\x000\x003\x00',
    '\x00n\x00a\x00m\x00e\x00': '\x00G\x00r\x00e\x00g\x00 \x00H\x00o\x00o\x00v\x00e\x00r\x00',
    '\x00e\x00m\x00a\x00i\x00l\x00': '\x00g\x00r\x00e\x00g\x00@\x00w\x00e\x00b\x00s\x00i\x00t\x00e\x00.\x00c\x00o\x00m\x00',
    '\x00c\x00o\x00u\x00n\x00t\x00r\x00y\x00': '\x00U\x00S\x00',
    '\x00a\x00g\x00e\x00': '\x003\x005\x00'
  },
  { '��i\x00d\x00': '\x00' }
]

test.csv

id,name,email,country,age
100,John Doe,john@website.com,US,35
101,Jane Doe,jane@website.com,UK,30
102,John Lee,john@website.com,FR,20
103,Greg Hoover,greg@website.com,US,35
@jfoclpf
Copy link

jfoclpf commented Feb 10, 2022

Have you tried changing the encoding of the file you are reading?

#402 (comment)

@stychu stychu closed this as completed Mar 21, 2022
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

2 participants