Content Entry | Best way for content bulk upload of arabic / chinese language (mutli bytes) to CQ (curl etc) | Community
Skip to main content
Level 4
October 16, 2015
Solved

Content Entry | Best way for content bulk upload of arabic / chinese language (mutli bytes) to CQ (curl etc)

  • October 16, 2015
  • 2 replies
  • 889 views

I have excel sheet where i have got content in chinese / arabic which needs to be uploaded to CQ. In excel i can see they are displaying fine. I am thinking of using curl command automate the process. I have used curl in past for english language content and it works nice.

 

But now when i use curl for uploading these special languages everythjing gets uploaded as QUESTION MARK or JUNK.

 

is there any attribute / parameter i need to send in curl command

 

Below is my curl command

 

    
curl -u admin:admin  http://localhost:4502/etc/designs/footer   -F  "text=洲際酒店集"

 

It works well if text is english
curl -u admin:admin  http://localhost:4502/etc/designs/footer   -F  "text=how are u"

Is there any way I can pass character encoding (UTF-8) to this statement ?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

See this article about writing a servlet for AEM that are able to handle specials chars:

http://scottsdigitalcommunity.blogspot.ca/2014/04/posting-special-characters-to-adobe.html

As noted in the article - using CURL does not work. 

2 replies

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015

See this article about writing a servlet for AEM that are able to handle specials chars:

http://scottsdigitalcommunity.blogspot.ca/2014/04/posting-special-characters-to-adobe.html

As noted in the article - using CURL does not work. 

Level 4
October 16, 2015

Thanks so much Scott for your quick reply. Let me try that out.