locked
Strange characters on translations RRS feed

  • Question

  • Hello,

    I'm using the API to translate content from feeds, and I'm getting this characters after each paragraph: "\u000d\u000a\u000d\u000a"

    any ideas?

    Thanks

    Wednesday, September 21, 2011 9:39 AM

Answers

  • Hi Del,

    what you see is a regular carriage return/line feed combo. Normal between paragraphs. However, there shoudl be only one such pair (0x000d, 0x000a) after each paragraph, unless you have an empty line between paragraphs in your source.

    Chris Wendt
    Microsoft Translator

    • Marked as answer by Vikram Dendi Monday, September 26, 2011 6:26 AM
    Monday, September 26, 2011 5:59 AM

All replies

  • delspooner - is this happening with all interfaces to the API (ODATA, SOAP, AJAX, HTTP)? Can you paste some sample content pre and post translation?
    Vikram Dendi, Director of Product Management
    Microsoft Translator
    Wednesday, September 21, 2011 6:18 PM
  • Hi Del,

    what you see is a regular carriage return/line feed combo. Normal between paragraphs. However, there shoudl be only one such pair (0x000d, 0x000a) after each paragraph, unless you have an empty line between paragraphs in your source.

    Chris Wendt
    Microsoft Translator

    • Marked as answer by Vikram Dendi Monday, September 26, 2011 6:26 AM
    Monday, September 26, 2011 5:59 AM