Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6760313
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:03:01+00:00 2026-05-26T14:03:01+00:00

I got a problem stuck me few days, tried several ways still can’t figure

  • 0

I got a problem stuck me few days, tried several ways still can’t figure it out.

it’s about data upload using csv file in utf-8

here is main.Py

class hello(db.Model):
    greeting = db.StringListProperty()  (or Listproperty(unicode))

class dbLoader(bulkloader.Loader):
    def __init__(self):
        bulkloader.Loader.__init__(self,'hello',
        [
        ('greeting', lambda x: x.decode('utf-8').split('|'))
        ])
loaders = [dbLoader]

the data.cv contains:

“Hello|您好|こんにちは|¡Hola|مرحبا|안녕하세요”

stored entity just like
[u’Hello’, u’\u60a8\u597d’, u’\u3053\u3093\u306b\u3061\u306f’, u’\xa1Hola’, u’\u0645\u0631\u062d\u0628\u0627′, u’\uc548\ub155\ud558\uc138\uc694′]
character isn’t correct.

Any further for me … appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T14:03:02+00:00Added an answer on May 26, 2026 at 2:03 pm

    Your data is being imported correctly. The stored entity is simply being displayed in Python’s repr format, which represents unicode strings with characters outside the first 127 as unicode codepoints. Taking your second field, we get the same result with regular Python on the command line:

    $ echo 您好 | python -c "import sys; print repr(sys.stdin.read().decode('utf8'))"
    u'\u60a8\u597d\n'
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i got problem with my code and hopefully someone able to figure it out.
I've been stuck with this problem for a few hours and can't seem to
I am new to Core Data and i got stuck with a problem. I
I am working on a problem and got stuck at a wall I have
I got stuck in this problem for an hour. I am thinking this is
I got stuck with this problem. I wrap two tables inside of a h:form.
I've got stuck in a problem with gflags when trying to find some memory
I am new to the iPhone development. I got stuck with a problem. I
I got problem with sending data in Android using httpPost. I found some example,
I want to ask about strcpy. I got problem here. Here is my code:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.