3

I have created a component and entered the content in "RichTextField" using the Core service. Component is successfully created but when i open this in "SDL Tridion" GUI. I found that all the Japanese language text into this field replaced with '?' characters. How do I solve this problem?

  • Can your client OS support Japanese characters? I have no problems with doing this on my server. – Nuno Linhares Aug 29 '14 at 6:29
  • Are you sure you have support for Japanease, may be you can copy-paste the japanease text in Notepad to verify – Pankaj Gaur Aug 29 '14 at 6:31
  • You've tagged the question with "core service" and "content delivery". Can you edit your question with more details to clarify this? E.g. Are you inserting the RTF Japanese via core service and see the question marks once you've published the content, or something else? – Nickoli Roussakov Aug 29 '14 at 6:46
  • 1
    Start with the basics and try copy/pasting Japanese content using the CME. If that works, then you know that it is for sure your CoreService app that is not keeping the encoding. If that doesn't work, then it's likely a Server setting. – Nuno Linhares Aug 29 '14 at 7:16
  • @Nuno when i copy/paste Japanese content using "SDL Tridion" GUI it is working.but using "CoreService" it is not working. – pankaj Sharma Aug 29 '14 at 7:47
3

As Nuno has also mentioned about the support for Japanese in the OS, you may also want to check below things additionally as you question is not quite clear:

  • Try to do through CME, if it is working then ensure you have setup UTF-8 support for it in the Web Config.
  • You may also want to check for the Collation of SQL Server - whether it has not been tempered with and support for Unicode characters

UPDATe:

You can try something like this:

<configuration>
   <system.web>
      <globalization
           fileEncoding="utf-8"
           requestEncoding="utf-8"
           responseEncoding="utf-8"
           culture="en-US"
           uiCulture="de-DE"
        />
   </system.web>
</configuration>

The path of the web.config should be:

/<Installed Path>/Tridion/webservices/web.config
| improve this answer | |
  • This isn't really an answer Pankaj. Seems like a comment asking for additional details in the question. – Nickoli Roussakov Aug 29 '14 at 6:50
  • Pankaj I found there are many web config files in tridion folder,in which web config file should I setup UTF-8 support. – pankaj Sharma Aug 29 '14 at 8:05
  • The one meant for the Core Service – Pankaj Gaur Aug 29 '14 at 10:11
  • @Nick: Updated the Answer – Pankaj Gaur Aug 29 '14 at 10:13
  • @Pankaj can u provide a sample code of configuration in web application and location of the web config file – pankaj Sharma Sep 2 '14 at 6:22
3

This is normally because the given (Non-English) language pack is not installed on the server or on your (client) machine.

Or, it may be that your browser is not configured to use the correct character encoding.

You can find out more information about installing the correct language pack from Microsoft here: http://windows.microsoft.com/en-GB/windows/language-packs

In addition, the screenshot below shows that I am using the Unicode (UFT-8) character encoding within Chrome. You could try changing this to Auto Detect.

enter image description here

You may also want to look at the answers to Why do I always see boxes instead of Japanese text? (in particular, mushimushi's one about downloading the Japanese language pack) and Resolve - Japanese fonts for Google Chrome and more!

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.