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

  • Home
  • SEARCH
  • 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 8618207
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T06:03:10+00:00 2026-06-12T06:03:10+00:00

I am having an issue with the Shopify API when creating a new Article

  • 0

I am having an issue with the Shopify API when creating a new Article object for a Blog. I have an app which imports merchant’s 3rd party blogs into Shopify. Some of these blogs are non-english, and so contain plenty of unicode characters. I can encode the body for these posts just fine using xml character replacement, but I can not encode the titles. For example, here is a sample blog in Russian imported into a Shopify test store: http://heller-sawayn5574.myshopify.com/blogs/unicode (original blog here: http://recen-zist.livejournal.com/)

You can see the body is shown properly encoded, but the title isn’t and appears garbled. Shopify takes the xml encoded characters and displays them in the title literally, instead of the characters being converted back to unicode, as is the case in the body of the article.

If I log into the store admin and change the title manually to include unicode characters, it will display correctly. So the issue only happens when creating the blog post via the API. However, any post created with unicode characters in the title is then non-editable using the API due to this error.

  • 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-06-12T06:03:11+00:00Added an answer on June 12, 2026 at 6:03 am

    I found a workaround for this by not XML encoding the title characters, but instead leaving them as UTF-8. I was using the Python Shopify API, and using UTF-8 was not previously possible, forcing me to encode using XML. For a background of the problem see this discussion:
    https://groups.google.com/forum/?hl=en&fromgroups=#!topic/shopify-app-discuss/T5gee1A_2lE

    The workaround is to update the pyactiveresource dependency to version 1.0.2

    There is still the issue of why xml character encoding will work for the blog post body, but not for the blog title. But as long as there’s another way to do it, this shouldn’t matter much.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi guys I am having issue I have this query: SELECT * FROM useraccount
Just started mongo and started having issue with querying already. i have a collection
Having an issue here that I have tried everything I can think of but
I am having issue with Google line chart API. When I reload the div,
Experts, I'm having issue when sending emails out. Currently, I have a feedback form
I am having issue with memory after running many times my app. java.lang.OutOfMemoryError: bitmap
We have a device that support SAE J1939 interface and having issue with finding
having issue with the explode, i have simple text file and each line is
I am having issue in checking which input has been clicked using unobstructive javascript.
Greetings of the Day, I am having issue in my app.Actually, in my app

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.