Get rid of the wierd character \n\r?

Dear Friends,
I insert a text data into mysql database as TEXT type. and type some words and press return to go to next line, when I retrieve the data from database, the data shows some wierd characters..like \n\r...How can I get rid of the problem???
thanks for your help

I read some posts..and they said just replace \r\n with <br>
however, I just cannot make the replaceAll("\r\n","<br>") method work...
it seems a simple problem...but it takes me a long time and doesn't solve it..
can anyone help me out???

Similar Messages

  • Can't get rid of the # when adding text

    I'm trying to edit a document in Indesign. I started by doing a Pre-Flight to correct errors and have one left I can't get rid of.
    Originally the Text Error was for a font that ID could not find so I changed the font to what was already being used for other text - an included font - Charlamagne Std Regular
    When trying to type text into a text box the type jumps to just above the text box where the pound sign (#) sits.
    When entering type, even after positioning the curser inside the text box, it jumps the text to right before the pound sign, on top of the text box, and adds a pink box under the text.
    I have attached a screen shot to show this. How to I get rid of the pound sign and pink box to be able to simply type some text in the text box (that the pink box is in)? Thanks!

    @dkg62 – to make clear what's going on, select the text frame and show us another screenshot.
    There are at least four cases where you can get a text like that. All cases imply, that the font you'd like to use is missing. I simulated this by formatting text with a font weight that is not available by a character style.
    1. The most likely case: There is baseline shift applied; here in my case 9pt.
    All other cases are academical, because the pink highlighting is aligned with the text:
    2. Text frame options, baseline set to a fixed value (zero in this case)
    3. Text on path and the text frame options (baseline) is just the standard default. You can see a second #-end of story sign inside the text frame.
    4. Text on path and the text frame options (baseline) is set to fixed (zero in this case). The second #-sign inside the text frame is shifted above because of the fixed value of the baseline option of the text frame options. And obscured by the pink highlighting.
    Uwe

  • I can't get rid of the circles!

    i am typing on an elipse. i want to keep the text but get rid of the circle, i can't seem to do that! i need to know asap, thanks!

    i selected the direct select tool, went to the character panel under storke. i do not see where i can select it to none. the start and end says none but the circle is still there

  • I have a Australian iTunes account and want to switch to using the u.s store as I now live there, I cannot do this because I have $1.41 still in the oz account an image to have a zero balance to change stores, how can I get rid of the $1.41?

    I want to switch to the u.s store as I now live in the us, I cannot switch stores because my balance is $1.41 in the oz store and needs to be zero, how can I get rid of the $1.41 when everything costs more or less than that? I do not have a credit card on the oz iTunes account an I cannot use my us one to top it up.
    HELP

    Click here and request assistance.
    (60992)

  • Since downloading ios5 on my iphone 4 the capacity guage in itunes shows other as over 21Gb and i can no longer fit any music on it. How do I get rid of the other stuff? other

    Since downloading ios5 on my iphone 4 a few days ago, the capacity guage in itunes shows "other" as over 21Gb and i can no longer fit any music on my iphone.
    How do I get rid of the other stuff?
    capacity available on 32 Gb iphone is 28.49Gb
    i previously had 21.97 Gb music, over 6 Gb photos, about 1Gb of apps, and minute amount of audio
    now i have no music, 5.4 Gb photos and similar (0.8Gb) for  apps and audio. i have deleted heaps of photos and unused apps to try to make space but obviosly this is a much bigger problem. I also created a smaller music folder on itunes to sync to but at present no music is selected for syncing due to the lack of available space.
    i have 15Gb icloud account now also which is about half full.
    Ive done a little research and heard similar tales but with much smaller other totals than this. Can you help?
    i cant update my apps as i get a message saying i do not have enough available space.

    I had the same problem today and was able to resolve it without having to do a restore or reset. The problem had something to do with my mail accounts. The upgrade reset my mail settings, switching both my gmail and my .mac mail to "archive all mail". I went into the General Settings, disabled that setting, and resynced the phone. The "other" storage allottment dropped back down to less than a gig.
    Before you restore or reset, I would try that first.

  • How do I get rid of the "other" data on my iPhone 4?

    The "other" data on my iPhone 4 is currently taking up 4.5 gb of my 6.4 gb phone. As you can see I'm not very happy about this. I am basically limited too about ten apps and I cannot download iOS 7 due to my lack of storage. I was wondering if there were any ways to get rid if the "other" data without resetting my iPhone. I cannot reset my iPhone because my family has a shared data plan and a limited amount of storage to back up to on iCloud. We don't have enough storage on iCloud to backup the 5.8 gb I'm using because of the other data. Any help?

    You would need to restore the iphone.

  • Some of my songs are listed twice on my iPod itself.  However, when I plug the iPod into my computer, the songs don't show up twice in iTunes when I click on device/music. How do I get rid of the duplicate songs on my iPod?

    Some of my songs are listed twice on my iPod itself.  However, when I plug the iPod into my computer, the songs don't show up twice in iTunes when I click on device/music. How do I get rid of the duplicate songs on my iPod?

    that is odd! that should not be happening.
    Are you syncing your songs right off of itunes itself? because it should be syncing over to the ipod however it is listed in itunes.

  • How can I get rid of the dates and time on my Notes

    How do I get rid of the dates and times on my Notes that appeared when I updated to 8?

    Yes, it's seems like a poor design decision.
    By putting the date on the line below the Note title in the Notes Index, the app shows half the number of notes per page AND if you have a large number of notes, it takes twice as long to stroll down.
    I doubt the designer actually uses the app. 
    TSAW

  • I am already a Firefox user, how do I get rid of the new Firefox setup on my computer?

    I am already a Firefox user, how do I get rid of the new Firefox 4 setup on my computer now?

    http://www.computertechtips.net/64/make-firefox-4-look-like-ff-3-6/

  • How do I get rid of the red update number on app store?  I have an update for an appmwhich requires ios6 which I cannot get on my iPad and there for cant do the update it is really annoying

    I have an update for an app which I cannot update as it requires ios6 which I cannot get on my iPad - how do I get rid of the little red number?  It is really annoying

    Does this apply?
    If you're asked for the password to your previous Apple ID when signing out of iCloud - Apple Support

  • How do I get rid of the 3d effect when opening home screen? It gives me a headache.

    How do I get rid of the 3d effect when opening home screen? It gives me a headache.

    jimginakouri wrote:
    It's more of a "zoom-in/zoom-out" every time you turn on home screen or open/close an app.
    THAT you can't change. Silly of Apple not to provide a setting to back out the animation effects either as a whole or individually.

  • How do I get rid of the auto signature "sent from my iPhone" when I create a new message?

    how do I get rid of the auto signature "sent from my iPhone" when I create a new message?

    Settings -> Mail -> Signature and edit it to whatever you'd like.

  • How do I get rid of the annoying "exportPDF" bar on the right side of the screen that blocks much of the document?

    How do I get rid of the annoying "exportPDF" bar on the right side of the screen that blocks much of the document?

    Hi soreankles,
    To hide the toolbar in Reader, choose View > Show/Hide > Toolbar Items > Hide Toolbars.
    Best,
    Sara

  • How do I get rid of the favorites bar listing on the left of my screen

    How do I get rid of the favorites bar listing on the left of my screen when I can find it at the top of the screen?  I takes up too much of my useable acreen

    Hi Dale,
    I don't use Safari much, but try this as I recall...
    Click the Book icon in the Favorites/Bookmarks bar.

  • How do I get rid of the Ken Burns effect on my photos

    I would like to get rid of the Ken Burns effect on my photos I addes to my video. How do I do that

    When you create a New Project and give it a name, the next thing you should always do is go to File>Project Properties and make sure in 'Initial Photo Placement you have selected either Fit or Crop. It seems the default setting is the Ken Burns annoyance.

Maybe you are looking for

  • Bootcamp Installation rMBP Mid 2014 Chaos

    I am trying to install Bootcamp on my friends mid-2014 13" rMBP without success. So far we have spent 2 nights and 6 hours working on this.  I am convinced there are problems with Apple's Bootcamp Utility and/or firmware. After successfully creating

  • Not able to print cards with design in iphoto any more

    At Christmas I needed some more of the cards I had ordered at short notice so I printed them out on my own printer. It worked really well. I have just created a card and went to print but the card template does not print any more. I assume that this

  • Two APEXs on one Instance

    We have a requirement to be able to have two copies of APEX running on the same Oracle instance, one available inside the firewall and the other outside the firewall. Each version would be running different applications, public and private, but shari

  • Workflow and replication

    We are considering using Oracle workflow to direct a process flow of different external and internal procedures and the users who will be executing them. However we are also using advanced replication with Multi Master Replication. If either database

  • COMPARISON BETWEEN N70M AND ANY OTHER SAME TYPE NO...

    I'VE GOT A NEW N70M THREE DAYS AGO. I JST NEED TO KNOW WHETHER THERE WAS ANY OTHER EQUIVALENT PHONE AT THE SAME PRICE WITH BETTER SOUND AND GOOD FEATURES.