Weird question

This is a weird question, not really related to Java; so please excuse me for it. Does anyone know the ASCII value of the new line character?

Should that not be 10?Yes, sorry. 13 is \r, 10 is \n. 13 will show up as a new line on 'doze boxes. That's what I get for trusting my memory... o_O
String s = "%" + (char) 10 + "%";
assert "%\n%".equals(s);
String t = "%" + (char) 13 + "%";
assert "%\r%".equals(t);~

Similar Messages

  • Two weird questions about BP maintenance......SOS!!!

    Two weird questions about BP maintenance......SOS!!!  
    The procedure is like this:
    These informtion will be import to SAP:
    BP information
    Address Information of this bp.
    Communication information of this BP
    1. check if the bp exist, if yes, update the BP.Then go to 3.if no go to 2
    2. Create a bp with the Address information and communication information
    3. Check if the Address information has been existed,if yes go to 4.else go to 5
    4.Update the address information with the communication information.
    5.Create a new address for this BP.
    And the problem I got is like this:
    1. After I changed the BP information, such as the surname,lastname etc.Use this BAPI
    "BAPI_BUPA_CENTRAL_CHANGE",I commited it.Then I call the BAPI "BAPI_BUPA_ADDRESS_CHANGE" to change the Address of this BP,however
    When I call the BAPI_BUPA_ADDRESS_CHANGE,it always told me the BP is locked by myself.............
    I am sure I do not open the BP in the other window.And I commit it after I call the BP Change BAPI.
    2. When I change the communication information ,it always told me BAPIADTEL you want to update does not exist in this system.....I am sure it does.
    Who can help me??
    Thanks very much

    Hi,
    1) Problem with the lock. To commit the changes after the BAPI_BUPA_CENTRAL_CHANGE API, instead of using commit work to commit, Use BAPI_TRANSACTION_COMMIT. This should solve the problem. This wil help in clearng the buffers of BP.
    2) in the BUPA_ADDRESS_CHANGE, for telephone there are two parameters to be filled IT_ADTEL, IT_ADTEL_X
    IT_ADTEL : Should be filled with the telephone details etc (Consnumber should not be filled for inserts. This should be filled only for updates).
    Corresponding IT_ADTEL_X structure has to be filled with update flag as 'I', 'U' or 'D' based on the task.
    Hope this helps. Let me know if some more info is needed.
    Regards,
    Sudheer.

  • A weird question concerning iTunes?

    Ok I guess this is my question. I am a huge fan of the band Tool and as some of you may know some of their songs are in two parts, like part 1 leads into part 2 (i.e. Parabol - Parabola on Lateralus) and I was wondering if it is possible when having the shuffle feature on that if Part I of a song would come on iTunes would play Part II of the song and then go back to random shuffle. I know this is kind of weird, but if this were possilbe that would be real awesome.
    Thanks for you guys' time and input.
    Sp0t
    Dell 5100 Windows XP
    Dell 5100 Windows XP Music Lover

    hi Sp0t!
    not a weird question at all.
    there's a sort of workaround for that. reimport those two songs from the CD using the "advanced > join CD tracks" they'll be imported as a single track that will play all the way through parts one and two.
    there's a worked-through example of doing this in this thread:
    http://discussions.apple.com/click.jspa?searchID=-1&messageID=2161420
    love, b

  • Weird question in SSIS 2012 package

    hi folks:
      I've created a SSIS 2012 package in my local machine using 
    Microsoft SQL Server Integration Services Designer
    Version 11.0.3436.0
    This package contains a script task using .NET framework 4 . 
    Everything works fine and I decided to deploy to the QA server.
    On the QA server, the package wont' work then I decided to open in the SSIS designer with the same version 11.0.3436.0
    This is when this weird things happens.  
    On the QA machine, when I opened this deployed pkg directly in SSIS designer and ran it, the pkg failed with the error pointing to the script task.  
      Then, I literally opened the script task and closed it WITHOUT changing anything .   
    After that, I ran the same package in SSIS designer... Guess what, it worked!!!
    Weird!  could anyone here help explain what just happened? this makes my deployment process a nightmare as I have to literally opened the script task after it gets deployed and change the pkg location as SSIS designer will save the "good"
    pkg in a different location other than deployed one.
    Thanks a lot!
     hui
    --Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --

    Hi cat_ca,
    According to your description, the first time you run the SSIS package in SSIS designer, the package failed with the error pointing to the script task, you opened and closed the script task and re-run the package, it worked fine.
    When we debug the SSIS package, the script component will be compiled to binary. In this case, the binary reverse failed due to some reason, so the script task is not normally build. To troubleshoot the problem, we can make use of logging feature to monitor
    execution of an SSIS package.
    For more information, please refer to the following documents:
    https://msdn.microsoft.com/en-us/library/ms136033(v=sql.110).aspx
    http://stackoverflow.com/questions/15004109/can-you-monitor-the-execution-of-an-ssis-package-in-bids-as-it-runs-on-the-ser
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.
    Wendy Fu
    TechNet Community Support

  • Weird question on Job history

    hi there:
     I've created a job and schedule it to run every 5 mins. This job contains 2 steps. This job has been running for a while and I want to check it out. I saw this log file which is very confusing.
    at 9/17/2014 2:10pm, it ran for 3 steps as supposed to be 2 steps. How is that possible? 
    Also there is no job running history at 2:05pm which is odd. I do know that this job was running very odd( extremely slow) 
    at 2:05pm... 
     Anyone saw this before? please feel free to share your experience.
     Thanks
    Hui
    --Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --

    Really weird. Would it be possible for you to share the job script?
    Balmukund Lakhani
    Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    | Facebook
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

  • Weird question, but it needs to be ask ( sorry )

    My friend bought a G5 dual 2.5 not the new one
    and i was there 2days ago to set it up, as i checked the specs of the mac it seems to be abit different from mine
    mine has ATI Radeon 9600 XT for the graphic card and his is GeForce FX 5200
    which one is better, i know mine came with the mac orginal so its safe but why is it the same mac with two different specs
    and do you think the person that sold the G5 change the card?
    its not a good place to ask this question but its needed for logic as well
    because his logic crash straight on the first launch and aperture isn't working on his it says
    WARNING:
    The installed graphics card does not meet the minimum requirements for Aperture.
    his applications crash more often than mine on the same day
    we both got almost the same setup
    G5 dual 2.5Ghz 3gb of rams and 2x21 inches LCD flat screens
    different interface, he is using the built in I'm using M-audio 1010LT
    this really serious
    and also to anyone that didn't buy the original mac from the shops please check the specs
    you might be going through the same thing as him
    thanks alot
    stash

    Stash,
    Check the RAM in the machine. If there is aftermarket RAM in there, it could be causing a problem. Run the Apple Hardware Test. Also, the GeForce card is the barebones card that ships with the machines. At least, it was the barebones with my dual 1.8. Not nearly enough for Aperture, I don't think. I run a lot of Motion on my machine and had to upgrade to a better ATI Radeon 9800 Mac Edition with 256MB in order to start getting any type of smooth workflow.
    The graphics card shouldn't affect Logic, obviously, but it would explain the Aperture problem.
    Check the RAM!!

  • [SOLVED] Weird question: pacman -Syu nothing to do for quite a while

    Hi,
    Perhaps this an odd question but I feel like for the past 2-3 weeks on two different computers "pacman -Syu" returns "x up to date" for all repos and "nothing to do" as the result. Could nothing really be upgradeable for this long? Can anyone else confirm this or has something gotten goofed? Is there a way to check actual versions with what I have to make sure things really are working properly? Even if nothing was upgradeable I can't remember the last time I saw core, extra, or community actually download without doing "pacman -Syyu". They alway say up to date and I'm thinking this just can't be correct...
    What might help for me to post? I haven't changed anything in pacman.conf or pacman.d/mirrorlist...
    Thanks,
    John
    Last edited by jwhendy (2010-09-02 14:20:53)

    x33a wrote:
    In the future, take a look here:
    https://www.archlinux.de/?page=MirrorStatus
    That's the link I keep losing. Bookmarking now...
    @jwhendy can you change the subject to include the word [SOLVED], please?

  • Weird question about GNOME3 and its new search function

    Ok, it may sound a little strange and I fear for your answers but here is the question...
    Is there any way to make gnome3 not to search for ABSOLUTELY EVERYTHING when "typing to search" in the menu?
    I mean, for god's sake, I was testing all the menus and so on, and suddenly typed "3" and a pair of NSFW movies showed up in the screen. WTF????!!! xD
    Is there a way to stop it showing recently opened files? XDD
    I do not like this "feature"....

    You can remove recent documents by deleting this
    rm ~/.local/share/recently-used.xbel
    You can stop logging all recent documents by creating a folder there, i.e.,
    mkdir ~/.local/share/recently-used.xbel
    Some tutorials recommend making that folder un-modifiable, but I'm not sure it's necessary
    chattr +i ~/.local/share/recently-used.xbel

  • Itunes 12, weird question..not remember location when changing sections

    Hi all,
    this is kind of weird and maybe we can bring up to apple's attention
    but has anyone else noticed that whenever you move from a section, say music to movies or something (or even the store) and you go back, it goes back to the top of the page or section, not going back the last known album?
    anyone notice if there is a feature that needs to be turned on?
    thanks!

    Hi, Justin. 
    Thank you for visiting Apple Support Communities.
    This sounds like a permission issue most likely with the iTunes Media folder.  Here are a couple articles that will help you troubleshoot this issue.
    Trouble adding music to iTunes library or importing audio CD
    http://support.apple.com/kb/ts1387
    iTunes: Missing folder or incorrect permissions may prevent authorization
    http://support.apple.com/kb/ts1277
    Cheers,
    Jason H.

  • A weird question perhaps??? But I need to have an idea!

    Greetings!
    I plan to gift an iPod Touch or an iPhone,
    However, in regard to the iPhone, I do not think that the immediate use would be registering with ATT for complete phone use.
    I believe that both units iPod and WiFi (Internet access) capabilities would be of primary interest for now.
    iPhone: has a camera, Maps app, etc... and of course iPod
    iPod touch does not have a camera or Maps, but does have WiFi capability and of course full iPod functionality.
    In the end, 399$ buys an iPhone/8gb, while it buys an iPod touch 16gb.
    A toss up of sorts.
    Back to my question: can the iPhone be used w/o activation initially, pending possible switch to ATT phone service depending upon the area involved (the unit would be going to a predominantly semi rural Verizon area, with ATT available probably only on roaming basis)
    Will appreciate advice/input on how to spend my 399 clams !
    - Roger T

    Hey, thanks for the extremely prompt reply! After all, as you might suspect, time is of the essence this month!
    Another thing then - as I am leaning twds the iPod touch:
    I presume that the WiFi capabilities, along with Safari and other MacOSX components we are interested in are similar. Same for occasional upgrades/Safari MacOS? I also assume that Apple upgrades for features the two devices share will be similar?
    I think I'll indeed focus upon the Safari/Wifi/Ipod capabilities of either device to make my decision.
    Thanks again!
    - rt

  • Weird Question on Vocals

    Does anyone know what a vocalist can use to clear mucus and "gunk" from the throat? I suffer from allergy and sinus problems which over time leaves some sort of "buildup" in my throat. I have to lay some vocals but constantly have to clear my throat. I can hear and feel the vibration from the build up when I hit certain notes. You folks must be full of information of know remedies that actually work. Please don't chide for posting this question, I have ran out of ideas, and you guys always come through..
    Thanks in advance

    Miles: I would like to do vocal exercises but I do not have a clue. Please let me know where I can buy the instructions for the vocal exercises
    Jazzmeister: Thank you so much for the Vocal Eze info..I have never heard of it before but I am going to the guitar center tomorrow to pick up a bottle
    Christian: Thanks for the tip about the hygroscopic stuff.
    AppleandtheMan: Excellent adivise thank you. I have an appointment to see an ENT specialist on Tuesday. I don't drink milk but I do eat egg whites. Maybe I should avoid those as well?
    Thank you all so much for you input. It is truly invaluable to me. I am taking your advice literally

  • Weird question, can you sync backwards?

    I just got a new mac, and my hp is being weird and i cant turn it on, and i cant get any of my music or videos out, but i have an itouch with just about everything on it. Is there any way i can simply put the itouch data into itunes? and if there isnt, how do i go about getting it onto my new computer? very confused about all this. thanks.

    AFAIK, Apple doesn't provide any way to do this. Their reasoning being that if it were easy to do, then ppl would share music illegally w/ all their friends and family (and the record companies would freak out and stop allowing Apple to sell their music via the iTunes Store).
    That said, there are free third-party utilities available to do just this. One is called Senuti (which is 'iTunes' spelled backwards), and I'd be surprised if there are not others.
    Carolyn is right - search around, they should be easy to find.

  • Weird Question of DMGs

    Okay, so this doesn't specifically apply to Pages, but all Applications in general, and I didn't see any forums for that. After I install programs, I still have some of the Disk Mountable Images just floating around in my hard drive. My 2 questions are 1. Are they supposed to be there? Like did I not install it fully where it would disappear, and 2. Can I delete them?
    This question also applies to the CD icon, can I eject that? I've done it before and have had to reinstall the program that I removed the CD icon for.

    1. If you've put the contents of the DMGs in another location on your computer, you can delete them.
    2. Some programs require that the CD be inserted for usage.
    (31864)

  • I got weird question

    My question is there anywaye without having go song by song that i can get the year the song came out,. Some of my music does not have what year the song or album came out. I am working on something and trying to get all the years to line up in order for it to work.

    Where did all this happen?
    The people who answer questions here, for the most part, are other Firefox users volunteering their time (like me), not Mozilla employees or Firefox developers.
    If you want to leave feedback for Firefox developers, you can go to the Firefox ''Help'' menu and select ''Submit Feedback...'' or use [https://input.mozilla.org/feedback this link]. Your feedback gets collected at http://input.mozilla.org/, where a team of people read it and gather data about the most common issues.

  • Some weird questions

    I wonder if it is possible to stmp you guys?
    Issue 1: when Importing another library, I absolutly canNOT see the librar in the mini_Finder at the bottom of the screen;
    Issue 2> Through ham- handidness, I have created a situation where imafes in Browser mode are reversed. looks kinda cool, but not suitable for clients. I;ve spent a fair amount of study on this with no answers. Looks awful, primarily red and black. What did I do wrong?
    Issue 3: And this cross post: Am using the Apple extended keyboard and for whaever reason the numbers no longer respond. Weird.
    Michael

    Quick response -- might be of help.
    1.  You don't import Libraries from that dialog.  That's for imported files.  Import Libraries via "File→Import→Library/Project ... ".
    2.  "imafes" = "images" right?  What do you mean by "primarily red and black"?  Can't tell what you're seeing.  Screenshot recommended.
    3.  No idea.

Maybe you are looking for

  • TS3048 Number pad on extended keyboard stopped working after updating to OSX 10.9.1. Testing keyboard on old system still works perfectly.

    Expanded keyboard stopped working correctly after updating my system from OSX 10.8.6 to OSX 10.9.1 and now 10.9.2. The keypad numbers do not work although the numbers along the top of the keyboard work fine. Moving the keyboard back to computer still

  • Error in reciever JMS adapter  (SENARIO  FILE - XI- JMS )

    HI everyone, My previous error is solved (Error in getting initialcontext). I have deployed the required jar files on server. Thanks to you'll. Now I am getting the following error in JMS adapter monitoring RECIEVER CHANNEL . NO DETAIL INFORMTION SET

  • Cannot find file specified!!!

    To anyone that can help. Server 2012 R2 Trying to run a .wsf file and the system tells me that it cannot find the file specified. Opened command prompt as admin and running cscript.exe shoreware_backup.wsf I am losing my mind Jared

  • Itunes movies not playing..

    Suddenly certain movies, purchased from the iTunes store, don't play anymore.  When I double click on them, it goes to a black screen with no sound.  I've already tried reinstalling iTunes, but no luck.  Strangely, this only occurs with some of my mo

  • Unable to find service in Oracle Service Registry

    Hi, I am trying to use the Oracle Service Registry for publishing and lookup of services (either OSB proxy service or normal service exposed as webservices.) Publish happens fine from the sbconsole of OSB. For findService or lookup from the service r