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 7408359
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T05:54:10+00:00 2026-05-29T05:54:10+00:00

As a response I am getting a string which is windows .ini file each

  • 0

As a response I am getting a string which is windows .ini file each pair has &#xD in the end this is the carriage-return in Canonical XML.
After

String ini = Html.fromHtml(response).toString();

ini gets string with no line breaks instead of them white-spaces. How to keep line-breaks on their places?

Response comes as

<string
xmlns=”http://schemas.microsoft.com/2003/10/Serialization/”>&lt;?xml version=”1.0″
encoding=”utf-8″?&gt;&lt;Profile&gt;[General]&#xD;AutoRecoveryConversion=1&#xD;UpdateExistingBootScreen=0&#xD;EnableTraditionalBL=1….

and I have to deal with it as is, no change will be provided from server.

  • 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-29T05:54:13+00:00Added an answer on May 29, 2026 at 5:54 am

    If &amp;#xD; replaced in response string with <br/> output string contains proper line breaks.

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

Sidebar

Related Questions

I am getting this string from server in response, which is actually in arabic
jsp file which contains username & password which is processed at LoginServlet...this servlet does
I am making an app in which i am getting a string as response
I am getting JSON response from the server..Inside that JSON string i am having
im getting response in json, but this wont parse the json response. what m
I'm getting this problem: PHP Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable
I am getting some response from server side which i need to parse but
I got a Windows Phone project which are getting an list of a object
I have a string which has say 3000 characters, now I want to split
I am getting a return string from web service that I am calling. Now

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.