Which subjects i should know to grow in SAP.

hi all
i m an instrumentation enginner , thn i found SAP intresting and i did my CERTIFICATION in SAP-ABAP. and i m new to computer science field . i found that SAP is big giant . it has so many facets ..
i ve just done CERTIFICATION and  i hav some time to get into SAP company
so please tell me which subjectss i should learn before i enter into sap company .

Hello rankakshay,
I would suggest diving into some reading material that gives you a broad overview of where your skills can be most applicable. Your absolutely right that SAP ABAP is massive, and much like yourself I am just diving into it now. I have found looking up good literature the best way to learn. The following
Hello Farhad,
Has anyone directed you to this post a while back on SDN?
/people/faisal.altaf2/blog/2010/08/19/step-by-step-installation-of-sap-netweaver-701-sr1-sp3-abap-trial-version-in-oracle-virtualbox-part-13
I think it's what your looking for as it gives you a way to practice your ABAP programming abilities. If you have trouble getting the necessary files, I can help you out as I have them already.
Cheers everyone,
Jason

Similar Messages

  • I can't get in my iPod and it won't reset unless i put in my pass code which i don't know what should i do ?

    I can't get in my iPod and it won't reset unless i put in my pass code which i don't know what should i do ?

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: Back up and restore your iOS device with iCloud or iTunes       
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        

  • DW 8.0 or CS3 - don't know which one I should get

    Looking for advice on which DW version to go for. I'm
    extremely new to DW and have designed many sites in the past using
    FP, so it looks like I will be converting sites from FP to DW AFTER
    I figure out what I am doing. I am confused on which DW I should
    start learning. I got a book to help me learn the 8.0 version but
    this was AFTER I saw there were no more trials for 8.0 and now I
    have downloaded the free trial of the CS3 version and the book is
    pretty much following along and have done a tutorial which turned
    out good and was fairly easy to follow.
    Is the CS3 version the newest and is it better than 8.0? Is
    one harder than the other for beginners to learn? I've been doing
    lots of searches on this forum as well as online but can't seem to
    figure which is better and more user friendly. I'm seeing how
    others are having problems with 8.0 and then also with the
    additional download for 8.2 I think it was. I'm looking for some
    expert advice from other users before I make the plunge and
    purchase - which one ??

    DWCS3 is way different from DW8, but not in ways that
    necessarily hit you in
    the face. The integration with Photoshop, for example, is
    excellent. The
    CSS rendering is excellent (but could still improve). The CSS
    editing is
    WAY better.
    I guess if you aren't using CSS, though, you wouldn't
    appreciate these
    differences....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Ethereal_Mike" <[email protected]> wrote in
    message
    news:f4keb5$g8v$[email protected]..
    > Dreamweaver CS3 is not that much different than
    Dreamweaver 8. CS3 added
    > Spry
    > components and has better rendering of CSS and a few
    other things. I
    > would say
    > it is not going to be any more difficult learning
    Dreamweaver CS3 than
    > Dreamweaver 8. In either case, a good understanding of
    HTML and CSS would
    > make
    > the transition much smoother.
    >

  • 7 Things every Adobe AIR Developer should know about Security

    7 Things every Adobe AIR Developer should know about Security
    1. Your AIR files are really just zip files.
    Don't believe me? Change the .air extension to zip and unzip
    it with your favorite compression program.
    What does this mean for you the developer? What this means is
    that if you thought AIR was a compiled protected format, alas it is
    not.
    2. All your content is easily accessible in the AIR file.
    Since we now that the AIR file is really just a zip file,
    unzip it and see what's inside. If you have added any content
    references when you published the AIR file, voila, there it all is.
    What does this mean for you the developer? Well, you content
    is sitting there ripe for the picking, and so is everything else
    including you Application descriptor file, images etc.
    3. Code signing your Air app does nothing as far as security
    for you.
    All code signing your app does is verify to the end user that
    someone published the app. I does nothing as far as encryption and
    does nothing to project your content.
    What does this mean for you the developer? We'll you should
    still do it, because getting publisher "unknown" is worse. It also
    means that joe hacker would not be able decompile your entire app
    and republish it with the same certificate, unless they
    somehow got a hold of that too.
    4. All your AIR SWF content is easily decompilable.
    Nothing new here, it's always been this way. Type flash
    decompiler into google and you'll find a variety of decompilers for
    under $100 that will take your AIR content swf and expose all your
    source code and content in no time.
    What does this mean for you the developer? All you content,
    code, urls and intellectual property is publicly available to
    anyone with a decompiler, unless you do some extra work and encrypt
    your swf content files, which is not currently a feature of AIR,
    but can be done if you do your homework.
    5. Your SQLite databases are easy to get at.
    SQLite datatbases can be accessed from AIR or any other
    program on you computer that knows how to work with it. Unless you
    put your database in the local encrypted datastore, or encrypt your
    entire database it's pretty easy to get at, especially if you
    create it with a .db extension.
    What does this mean for you the developer? We'll SQLite is
    very useful, but just keep in mind that your data can be viewed and
    altered if you're not careful.
    6. The local encrypted datastore is useful, but....
    The local encrypted datastore is useful, but developers need
    a secure way of getting information into it. Storing usernames,
    passwords and urls in clear text is a bad idea, since as we
    discussed, you code is easy to decompile an read. By putting info
    into the local encrypted datastore, the data is encrypted and very
    difficult to get at. The problem is, how do you get it into there,
    without have to store any info that can be read in the air file and
    without the necessity of communicating with a web server? Even if
    you called a web service and pushed the returned values into the
    datastore, this is not ideal, since you may have encoded the urls
    to you web service into your code, or they intercept the results
    from the web service call.
    What does this mean for you the developer? Use the local
    datastore, and hope that we get some new ways of protecting content
    and data form Adobe in the next release of AIR.
    7. There are some things missing form the current version of
    AIR (1.1) that could really help ease the concerns of people trying
    to develop serious applications with AIR.
    Developers want more alternatives for the protection of local
    content and data. Some of us might want to protect our content and
    intellectual property, remember not all of us are building toys
    with AIR. Other than the local encrypted datastore there are not
    currently any built in options I'm aware of for encrypting other
    content in the AIR file, unless you roll your own.
    What does this mean for you the developer? We'll I've been
    told that Adobe takes security very seriously, so I'm optimistic
    that we'll see some improvements in this area soon. If security is
    a concern for you as much as it is for me, let them know.

    Putting "secret data" as a clear text directly in your code
    is a broken concept in every environment, programing language.
    Every compiled code is reversible, especially strings are really
    easy to extract.
    There is no simple, straightforward way to include secret
    data directly with your app. This is a complicated subject, and if
    you really need to do this, you'll need to read up on it a bit.
    But in most cases this can be avoided or worked around
    without compromising security. One of the best ways is to provide
    the user with a simple "secret key" alongside the app (best way is
    the good old login/password). The user installs the app, and
    provides his "secret key", that goes directly into
    EncryptedLocalStore, and then you use this "secret key" to access
    the "secret data" that's stored on your server. Then you can
    transfer the "secret data" directly into EncryptedLocalStore.
    As for the whole thread:
    Points 1-5 -> Those points do not concern AIR apps only.
    If you are developing an application in any language, you should
    follow those rules, meaning:
    - Code installed on users computer is easy accessible
    - Data stored locally is easy accessible, even if it
    encrypted using any symmetric-key encryption, because the
    encrypting algorithm and encryption key is in your source code (you
    could probably write a book on using public-key encryption so let's
    just leave it for now ;)
    Point 6 -> Is a valid one. All your app security should
    relay on the EncryptedLocalStore. But it is your job to get the
    data securely into the ELS, because there is no point to encrypt
    data that can be intercepted.

  • In which situations we should use Character Mode Reports?

    Question: In which situations we should use Character Mode Reports?
    Explaination: I am faced with a certain situation. I feel that I should develop reports in Character Mode. But I am not sure about this.
    I invite all readers to contribute on the subject matter. Once I receive responses, I will explain my specific situation as writing it now may narrow the list of such situations.
    Also I would like to know what problems we face when developing reports in Character Mode. I was developing my first Character Mode report and I faced layering problems. So I would like to know more such precautions.
    TIA
    Tariq

    Hi Muhammad,
    There's any number of cases for using character mode Reports. However, they all typically come down to what your doing with the output of the report.
    Basically, you need character mode reports whenever the Report output needs to be read by some sort of Ascii file reader. This could be notepad, VI, MSVC, dot matrix or fixed character set printers, ...
    A less common case is where you just want to get at the data within the report. You're just using the ascii output as a data dump to pass through to another program/utility. (This is really just a specialised case of the previous one).
    There are some cases where character mode output may be one of several choices. Eg: the body of an email message which could be HTML or plain text.
    Robin.

  • Please I'd be happy if we can claim where we are misleaded when buying the product : The retailer or seller should know what they are selling ... For example I asked earphone for my shuffle ipod 3rd generation showing it

    Follow-up: 203908177
    Dear sir/madam
    Please I'd be happy if we can claim where we are misleaded when buying the product : The retailer or seller should know what they are selling ... For example I asked earphone for my shuffle ipod 3rd generation showing it but the they gave me an ear phone which just was like an ordinary earphone where I can't low and high the volume nor I can select the playlist ... Please read below
    that I wrote to you in the email I've sent to you on last April as followed :-
    Dear madam/sir,
    It's me Santosh Lamichhane who just arrived to my place in Kathmandu, Nepal after a month visit in Bolivia and Argentina ...
    Dear madam/sir, I like to inform you that while my visit in Santa Cruz de La sierra in Bolivia I bought a new earphone for my ipod shuffle 3G due to the problem in my old earphone on the date as followed in the bill of as shown
    ALTEK
    PN 26986 VN 24186
    Vendedor:
    Federico
    Date 02/04/2012 time: 03:34:22 PM
    I did checked the earphone there same time and found that I can't lower or high the volume from that new purchased earphone and even asked why and one of your senior staff said it might be the problem of my ipod shuffle's setting, Since the beginning of the time of purchase till I came to Nepal 4 days ago I didn't use the ipod because I'm not able to increase the volume and I didn't took my laptop with me while my visit there ...
    But when I try to restore my shuffle here ; even that doesn't works ... Today and yesterday when I checked my friend's earphone of ipod - it was working on my shuffle and my earphone also working in his classic ...
    I want to kindly request you since I showed my shuffle at the time of buying earphone there in Altek, San Martin AV in SAnta Cruz de la Sierra in Bolivia and asked I need the earphone for my ipod shuffle 3G It's not my fault ... Could you please ask the agents of apple here in Kathmandu to replace it with the working the right compatible earphone for me ...
    Hope to hear from you very soon ...
    Thanking you
    From Santosh Lamichhane,
    Cell +977 9802033662, 9813716393,
    +977 (1) 5002018 Res ...
    1210 Tikhedewal 28, Lalitpur SMPC 14, Kathmandu, Nepal

    You will not get a reply from Apple in these forums. As stated in the information to which we all agreed when we signed up here, these forums are for user-to-user assistance, not for getting technical assistance from Apple. All you will get here is suggestions and commiseration from we your fellow users. If you want to express your displeasure directly to Apple, call the tech support line and ask to speak with Customer Relations and see if there's anything they can do for you. Please keep in mind that the CR rep will not have caused your problems, so keep your calm and be polite; they're just working stiffs too.
    Message was edited by: Dave Sawyer

  • Things to know before building a Mega 651 (and other things you should know afte

    Okay, following hot on the heels of the "things to know" series on Mega 180 and 865, I thought I'd just chip in with this short post on what you should know before splashing out on a nice budget Mega 651
    PROCESSOR SUPPORT:
    The official list of supported CPUs can be found here:
    http://www.msi.com.tw/program/products/slim_pc/slm/pro_slm_cpu_support_detail.php?UID=431&kind=4
    Basically the ageing SiS651 chipset does not support Celeron / P4 cpus above 533mhz, and does NOT support the newer "Prescott" core cpus
    Celeron > 400Mhz FSB
    P4 Northwood > 533mhz FSB (512kb L2 cache)
    MEMORY:
    Basically to add to what is listed in the 865 "things to know"; from my own experience of using MSI motherboards in the past, ALWAYS use good quality branded memory, as using cheaper "generic" types inevitably leads to major problems. I know for a fact that Crucial, Kingston and Samsung types work well in MSI motherboards, and you should be okay with other high-end brands like Corsair and Geil.
    DRIVERS:
    DON'T bother using MSI LiveUpdate! The drivers provided on the cd supplied will work, but if you wish to download the latest drivers, you will find them here:
    http://download.sis.com/
    Download and install the:
    Chipset Software > SiS AGP (Gart) Driver
    IGP Graphics Drivers > SiS650 and 740 series
    http://www.realtek.com.tw/downloads/dlac97-2.aspx?lineid=5&famid=12&series=8&Software=True
    for Realtek AC97 Audio drivers
    http://www.realtek.com.tw/downloads/downloads1-3.aspx?lineid=1&famid=3&series=16&Software=True
    For Realtek Onboard Network interface
    The modem drivers supplied on the CD should work, I really don't know much about them as I have never used them (sorry). Failing that, if you are connected to the internet, Windows Update should be able to find them for you.
    OPERATING SYSTEM SUPPORT
    MSI state that only Windows XP is supported on Mega 651 (and other Mega barebones). Other versions of Windows (98, ME, 2000) will work provided you have drivers for hardware devices, all of which are provided on the install CD or from the links supplied above.
    You'll find that earlier versions of Windows won't have the drivers for the built-in card reader, so you may have to do a "google" search to get them. On my Mega 651, they are listed in Device Manager as "OEI-USB" devices.
    If you haven't already got Windows XP then I suggest you consider upgrading at the earliest opportunity; Microsoft themselves no longer support Win 98 / ME and most new software is being designed to work only with Windows XP
    Please note that MSI do NOT supply or support drivers for Linux; if you wish to attempt to install Linux on a Mega 651 (or other Mega PC model) you will need to obtain drivers yourself. The remote and LCD display functions will also not be available under Linux, unless some clever bod has developed drivers to do so.
    MEGA RADIO AND LCD DISPLAY:
    Download the Mega LiveUpdate for Mega 651 from here:
    http://www.msi.com.tw/program/support/software/swr/spt_swr_detail.php?UID=431&kind=4
    This will update your MEGA Radio program, update the BlueBird HIFi module firmware and allow you to set a "greeting" displayed on the LCD display when you switch on HiFi mode. Apart from that the LCD display serves NO other purpose in PC mode.
    After updating the firmware, you should power off your Mega 651, unplug the mains power cord for a few seconds then reconnect and restart for changes to take place.
    OTHER MSI SOFTWARE:
    If you REALLY must try out MSI Media Center III, it does work on the Mega 651, but I don't think the remote will work correctly.
    Although PCAlert 4 has been reported to work on the Mega 651 - having read the numerous problems most users have, I don't advise installing it. If you do get it to work correctly, unlike on the Mega 180 and 865, it will not display temps or fan speeds on the LCD display, as this feature only works on the 180 and 865, as they use diferent LCD displays.
    EXPANSION CARDS:
    Same as with other Megas, you get 1 AGP and 1 PCI slot.
    The AGP slot only supports up to 4x cards; a faster card will work, but only at 4x.
    Space is limited, if you decide to fit a PCI TV tuner card, you will be limited as to which AGP card you can fit. A full length card is probably not recommended, and a model with a slimline (or even passive) heatsink would be best.
    A better alternative would be to go for a VGA card with built in TV tuner, such as MSI TV5200-VTDF128 or an ATI Radeon All-In-Wonder card (ATI AIW is supported in WinXP MCE05)
    ON-BOARD VGA
    The SiS651 chipset is pretty old now, and the on-board SiS650 VGA is not up to playing any of the latest games, as it is only DirectX 7.0 compliant and does not support Hardware Texture & Lighting. However, it is adequate for playing back DVDs as it supports hardware acceleration (in PowerDVD for example), and general video output is decent. The maximum shared video memory size is 64mb.
    The Mega 651 does NOT feature TV-out as standard. You can however either buy an AGP video card which includes TV-out feature, or the Mega TV-out card (availble in UK from www.dabs.com). Please note, this card is ONLY for Mega 651, and does NOT work with the 865 model. (The 180 does however, thanks to nforce2 chipset, support TV-out as standard)
    ON-BOARD AUDIO
    The Realtek ALC650 AC97 audio codec offers 5.1 surround sound (with suitable speakers of course  ) as well as SP-DIF for digital output.
    The sound quality is quite reasonable; i'm currently listening to MP3s through a set of Creative Inspire 5.1 speakers, and its certainly good enough for me.
    There are three audio connectors on the rear, they default to:
    GREEN - Front speakers
    BLUE - Line In
    PINK - Mic
    To connect surround sound speakers correctly, you need to use the Realtek audio configuration tool (located in the Taskbar by the clock). Set the speaker config to 4 or 6 channel (5.1) and then click on the boxes to the right to configure the rear ports correctly
    GREEN - Front speakers
    BLUE - Rear Speakers
    PINK - Subwoofer / Centre Speaker
    NOTE: If you do decide you want to install a PCI soundcard, be aware that you will lose the Radio function in PC mode, and for audio output in Hi-Fi mode you will need to reconnect audio plugs from your soundcard to onboard sockets. The Hi-Fi mode and Radio only work with the onboard audio.
    POWER SUPPLY
    All the Mega series barebones come with a 200w PSU. Don't even think about upgrading to a higher output type, as the Mega PSU is a non-standard type. A standard ATX PSU will NOT physically fit inside the Mega case. Besides which, the Mega series have a special connector which powers the Bluebird hi-fi module and on-board sound when the PC is off. And there is a special Molex power connector for the CD/DVD drive, also for that to be used when PC is off.
    WINDOWS XP MCE 2005
    Media Center 2005 requires a DirectX 8.1 / 9.0 compliant video card with a minimum of 64mb RAM, 128mb RAM is recommended, however, for best performance. So you will need an AGP card, because SiS do not provide any MCE-compatible drivers. The TV@anywhere TV tuner (MS8606-10) and Mega TV Tuner (MS8606-40) are not supported by MCE05, because MCE2005 requires a TV card that will provide a direct MPEG2 stream, which a PVR card such as the Hauppage PVR MCE series can do (as a hardware card, MSIs card are software only and rely on drivers to do MPEG encoding), or a dedicated DVB-T card which receives an MPEG2 signal over the air.
    MEGA 651 REMOTE
    If you fit an MSI TV@anywhere card to your Mega 651, the Mega remote can be used to control the MSIPVS software, providing you use the remote receiver supplied with the TV@nywhere card. The Mega remote is designed to work natively with the MSI Media Center, and MSI Mega Radio programs only.
    If you wish to program the remote to operate other programs within windows, then you will need a program called Girder, and the accompanying MSI plugin, kindly provided by nathan. please see his sticky thread for more info, about his plugin, and how to obtain Girder.
    BROKEN HEATSINK MOUNTING CLIPS
    https://forum-en.msi.com/index.php?topic=96148.0
    Phew, thats about it. If any other Mega 651 users think I've missed anything out, please feel free to tell me.
    For other general hints and tips, look through the "things to know" posts regarding the 865 and 180.
    MEGA 651 =

    Quote
    PROCESSOR SUPPORT:
    The official list of supported CPUs can be found here:
    http://www.msi.com.tw/program/products/slim_pc/slm/pro_slm_cpu_support_detail.php?UID=431&kind=4
    Basically the ageing SiS651 chipset does not support Celeron / P4 cpus above 533mhz, and does NOT support the newer "Prescott" core cpus
    Celeron > 400Mhz FSB
    P4 Northwood > 533mhz FSB (512kb L2 cache)
    your processor is not supported. please start a new thread if you need help

  • What every developer should know about character encoding

    This was originally posted (with better formatting) at Moderator edit: link removed/what-every-developer-should-know-about-character-encoding.html. I'm posting because lots of people trip over this.
    If you write code that touches a text file, you probably need this.
    Lets start off with two key items
    1.Unicode does not solve this issue for us (yet).
    2.Every text file is encoded. There is no such thing as an unencoded file or a "general" encoding.
    And lets add a codacil to this – most Americans can get by without having to take this in to account – most of the time. Because the characters for the first 127 bytes in the vast majority of encoding schemes map to the same set of characters (more accurately called glyphs). And because we only use A-Z without any other characters, accents, etc. – we're good to go. But the second you use those same assumptions in an HTML or XML file that has characters outside the first 127 – then the trouble starts.
    The computer industry started with diskspace and memory at a premium. Anyone who suggested using 2 bytes for each character instead of one would have been laughed at. In fact we're lucky that the byte worked best as 8 bits or we might have had fewer than 256 bits for each character. There of course were numerous charactersets (or codepages) developed early on. But we ended up with most everyone using a standard set of codepages where the first 127 bytes were identical on all and the second were unique to each set. There were sets for America/Western Europe, Central Europe, Russia, etc.
    And then for Asia, because 256 characters were not enough, some of the range 128 – 255 had what was called DBCS (double byte character sets). For each value of a first byte (in these higher ranges), the second byte then identified one of 256 characters. This gave a total of 128 * 256 additional characters. It was a hack, but it kept memory use to a minimum. Chinese, Japanese, and Korean each have their own DBCS codepage.
    And for awhile this worked well. Operating systems, applications, etc. mostly were set to use a specified code page. But then the internet came along. A website in America using an XML file from Greece to display data to a user browsing in Russia, where each is entering data based on their country – that broke the paradigm.
    Fast forward to today. The two file formats where we can explain this the best, and where everyone trips over it, is HTML and XML. Every HTML and XML file can optionally have the character encoding set in it's header metadata. If it's not set, then most programs assume it is UTF-8, but that is not a standard and not universally followed. If the encoding is not specified and the program reading the file guess wrong – the file will be misread.
    Point 1 – Never treat specifying the encoding as optional when writing a file. Always write it to the file. Always. Even if you are willing to swear that the file will never have characters out of the range 1 – 127.
    Now lets' look at UTF-8 because as the standard and the way it works, it gets people into a lot of trouble. UTF-8 was popular for two reasons. First it matched the standard codepages for the first 127 characters and so most existing HTML and XML would match it. Second, it was designed to use as few bytes as possible which mattered a lot back when it was designed and many people were still using dial-up modems.
    UTF-8 borrowed from the DBCS designs from the Asian codepages. The first 128 bytes are all single byte representations of characters. Then for the next most common set, it uses a block in the second 128 bytes to be a double byte sequence giving us more characters. But wait, there's more. For the less common there's a first byte which leads to a sersies of second bytes. Those then each lead to a third byte and those three bytes define the character. This goes up to 6 byte sequences. Using the MBCS (multi-byte character set) you can write the equivilent of every unicode character. And assuming what you are writing is not a list of seldom used Chinese characters, do it in fewer bytes.
    But here is what everyone trips over – they have an HTML or XML file, it works fine, and they open it up in a text editor. They then add a character that in their text editor, using the codepage for their region, insert a character like ß and save the file. Of course it must be correct – their text editor shows it correctly. But feed it to any program that reads according to the encoding and that is now the first character fo a 2 byte sequence. You either get a different character or if the second byte is not a legal value for that first byte – an error.
    Point 2 – Always create HTML and XML in a program that writes it out correctly using the encode. If you must create with a text editor, then view the final file in a browser.
    Now, what about when the code you are writing will read or write a file? We are not talking binary/data files where you write it out in your own format, but files that are considered text files. Java, .NET, etc all have character encoders. The purpose of these encoders is to translate between a sequence of bytes (the file) and the characters they represent. Lets take what is actually a very difficlut example – your source code, be it C#, Java, etc. These are still by and large "plain old text files" with no encoding hints. So how do programs handle them? Many assume they use the local code page. Many others assume that all characters will be in the range 0 – 127 and will choke on anything else.
    Here's a key point about these text files – every program is still using an encoding. It may not be setting it in code, but by definition an encoding is being used.
    Point 3 – Always set the encoding when you read and write text files. Not just for HTML & XML, but even for files like source code. It's fine if you set it to use the default codepage, but set the encoding.
    Point 4 – Use the most complete encoder possible. You can write your own XML as a text file encoded for UTF-8. But if you write it using an XML encoder, then it will include the encoding in the meta data and you can't get it wrong. (it also adds the endian preamble to the file.)
    Ok, you're reading & writing files correctly but what about inside your code. What there? This is where it's easy – unicode. That's what those encoders created in the Java & .NET runtime are designed to do. You read in and get unicode. You write unicode and get an encoded file. That's why the char type is 16 bits and is a unique core type that is for characters. This you probably have right because languages today don't give you much choice in the matter.
    Point 5 – (For developers on languages that have been around awhile) – Always use unicode internally. In C++ this is called wide chars (or something similar). Don't get clever to save a couple of bytes, memory is cheap and you have more important things to do.
    Wrapping it up
    I think there are two key items to keep in mind here. First, make sure you are taking the encoding in to account on text files. Second, this is actually all very easy and straightforward. People rarely screw up how to use an encoding, it's when they ignore the issue that they get in to trouble.
    Edited by: Darryl Burke -- link removed

    DavidThi808 wrote:
    This was originally posted (with better formatting) at Moderator edit: link removed/what-every-developer-should-know-about-character-encoding.html. I'm posting because lots of people trip over this.
    If you write code that touches a text file, you probably need this.
    Lets start off with two key items
    1.Unicode does not solve this issue for us (yet).
    2.Every text file is encoded. There is no such thing as an unencoded file or a "general" encoding.
    And lets add a codacil to this – most Americans can get by without having to take this in to account – most of the time. Because the characters for the first 127 bytes in the vast majority of encoding schemes map to the same set of characters (more accurately called glyphs). And because we only use A-Z without any other characters, accents, etc. – we're good to go. But the second you use those same assumptions in an HTML or XML file that has characters outside the first 127 – then the trouble starts. Pretty sure most Americans do not use character sets that only have a range of 0-127. I don't think I have every used a desktop OS that did. I might have used some big iron boxes before that but at that time I wasn't even aware that character sets existed.
    They might only use that range but that is a different issue, especially since that range is exactly the same as the UTF8 character set anyways.
    >
    The computer industry started with diskspace and memory at a premium. Anyone who suggested using 2 bytes for each character instead of one would have been laughed at. In fact we're lucky that the byte worked best as 8 bits or we might have had fewer than 256 bits for each character. There of course were numerous charactersets (or codepages) developed early on. But we ended up with most everyone using a standard set of codepages where the first 127 bytes were identical on all and the second were unique to each set. There were sets for America/Western Europe, Central Europe, Russia, etc.
    And then for Asia, because 256 characters were not enough, some of the range 128 – 255 had what was called DBCS (double byte character sets). For each value of a first byte (in these higher ranges), the second byte then identified one of 256 characters. This gave a total of 128 * 256 additional characters. It was a hack, but it kept memory use to a minimum. Chinese, Japanese, and Korean each have their own DBCS codepage.
    And for awhile this worked well. Operating systems, applications, etc. mostly were set to use a specified code page. But then the internet came along. A website in America using an XML file from Greece to display data to a user browsing in Russia, where each is entering data based on their country – that broke the paradigm.
    The above is only true for small volume sets. If I am targeting a processing rate of 2000 txns/sec with a requirement to hold data active for seven years then a column with a size of 8 bytes is significantly different than one with 16 bytes.
    Fast forward to today. The two file formats where we can explain this the best, and where everyone trips over it, is HTML and XML. Every HTML and XML file can optionally have the character encoding set in it's header metadata. If it's not set, then most programs assume it is UTF-8, but that is not a standard and not universally followed. If the encoding is not specified and the program reading the file guess wrong – the file will be misread.
    The above is out of place. It would be best to address this as part of Point 1.
    Point 1 – Never treat specifying the encoding as optional when writing a file. Always write it to the file. Always. Even if you are willing to swear that the file will never have characters out of the range 1 – 127.
    Now lets' look at UTF-8 because as the standard and the way it works, it gets people into a lot of trouble. UTF-8 was popular for two reasons. First it matched the standard codepages for the first 127 characters and so most existing HTML and XML would match it. Second, it was designed to use as few bytes as possible which mattered a lot back when it was designed and many people were still using dial-up modems.
    UTF-8 borrowed from the DBCS designs from the Asian codepages. The first 128 bytes are all single byte representations of characters. Then for the next most common set, it uses a block in the second 128 bytes to be a double byte sequence giving us more characters. But wait, there's more. For the less common there's a first byte which leads to a sersies of second bytes. Those then each lead to a third byte and those three bytes define the character. This goes up to 6 byte sequences. Using the MBCS (multi-byte character set) you can write the equivilent of every unicode character. And assuming what you are writing is not a list of seldom used Chinese characters, do it in fewer bytes.
    The first part of that paragraph is odd. The first 128 characters of unicode, all unicode, is based on ASCII. The representational format of UTF8 is required to implement unicode, thus it must represent those characters. It uses the idiom supported by variable width encodings to do that.
    But here is what everyone trips over – they have an HTML or XML file, it works fine, and they open it up in a text editor. They then add a character that in their text editor, using the codepage for their region, insert a character like ß and save the file. Of course it must be correct – their text editor shows it correctly. But feed it to any program that reads according to the encoding and that is now the first character fo a 2 byte sequence. You either get a different character or if the second byte is not a legal value for that first byte – an error.
    Not sure what you are saying here. If a file is supposed to be in one encoding and you insert invalid characters into it then it invalid. End of story. It has nothing to do with html/xml.
    Point 2 – Always create HTML and XML in a program that writes it out correctly using the encode. If you must create with a text editor, then view the final file in a browser.
    The browser still needs to support the encoding.
    Now, what about when the code you are writing will read or write a file? We are not talking binary/data files where you write it out in your own format, but files that are considered text files. Java, .NET, etc all have character encoders. The purpose of these encoders is to translate between a sequence of bytes (the file) and the characters they represent. Lets take what is actually a very difficlut example – your source code, be it C#, Java, etc. These are still by and large "plain old text files" with no encoding hints. So how do programs handle them? Many assume they use the local code page. Many others assume that all characters will be in the range 0 – 127 and will choke on anything else.
    I know java files have a default encoding - the specification defines it. And I am certain C# does as well.
    Point 3 – Always set the encoding when you read and write text files. Not just for HTML & XML, but even for files like source code. It's fine if you set it to use the default codepage, but set the encoding.
    It is important to define it. Whether you set it is another matter.
    Point 4 – Use the most complete encoder possible. You can write your own XML as a text file encoded for UTF-8. But if you write it using an XML encoder, then it will include the encoding in the meta data and you can't get it wrong. (it also adds the endian preamble to the file.)
    Ok, you're reading & writing files correctly but what about inside your code. What there? This is where it's easy – unicode. That's what those encoders created in the Java & .NET runtime are designed to do. You read in and get unicode. You write unicode and get an encoded file. That's why the char type is 16 bits and is a unique core type that is for characters. This you probably have right because languages today don't give you much choice in the matter.
    Unicode character escapes are replaced prior to actual code compilation. Thus it is possible to create strings in java with escaped unicode characters which will fail to compile.
    Point 5 – (For developers on languages that have been around awhile) – Always use unicode internally. In C++ this is called wide chars (or something similar). Don't get clever to save a couple of bytes, memory is cheap and you have more important things to do.
    No. A developer should understand the problem domain represented by the requirements and the business and create solutions that appropriate to that. Thus there is absolutely no point for someone that is creating an inventory system for a stand alone store to craft a solution that supports multiple languages.
    And another example is with high volume systems moving/storing bytes is relevant. As such one must carefully consider each text element as to whether it is customer consumable or internally consumable. Saving bytes in such cases will impact the total load of the system. In such systems incremental savings impact operating costs and marketing advantage with speed.

  • I have attempted to upgrade os4 to os7. icloud has taken an old expiered email address for which i do not know the password. It will not recognise my current email and password with itunes.  Any help appreciated

    I have attempted to upgrade os4 to os7. At the end, it threw an error that i had to turn off "Find my iphone" on my phone, which seems to be impossible at that stage as i could not access beyond the upgrade screen.
    I thin chose to set up as new iphone, but icloud has taken an old expired email address for which i do not know the password. icloud will not recognise my current itunes email and password, so i now have os7 but am unable to restore from my itunes back up. 
    Desperately need help please... Any help appreciated
    Thankyou

    If you don't know your password, don't know your security questions and don't have a rescue address or don't receive a reset email, you should contact AppleCare who will initially try to assist you with a reset email or if unsuccessful will pass you to the security team to reset your security questions for you.
    If you are in a region that doesn't have international telephone support try contacting Apple through iTunes Store Support.

  • Which Macbook Air should I go with?

    I want to get an 11 inch Macbook Air, but do not know which one I should get.  Do you think the $999 Air (1.6ghz i5 processor, 2GB memory, 64GB flash storage) will be efficient using final cut and adobe illustrator? I create small video clips/highlights, slideshows and edit photos for my job a lot.  Or Should I get a more expensive air like the $1,199 (1.6ghz i5 processor, 4GB memory, 128GB flash storage)? Or even an upgraded Air with 1.8ghz, i7 processor, 256GB flash storage?  I will NOT use this computer to store music or any other types of media other than short video clips and photos.  I also have a large external hard drive to store any work I am finished with.  I'm on the road a lot so I need something small.  Thank you for your help!

    Get a a model with 4gb of ram. You can't upgrade it once you've bought the laptop (it's soldered to the main board) and OS X Lion uses a lot of ram. 2gb will work, but it can become painfully slow at times, specially when you edit videos or photos.
    The $1,199 model you quoted seems to be the best choice for what you need.

  • Hello, i recently bought an iPod 5th Generation and it came with a passcode which i did not know of, it is now disabled and i am wondering how to unlock the iPod

    Hello, i recently bought an ipod touch 5th generation and it came with a passcode which i did not know, it is now disabled and i am wondering on how to unlock it using itunes on the computer

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    If problem what happens or does not happen and when in the instructions? When you successfully get the iPod in recovery mode and connect to computer iTunes should say it found an iPod in recovery mode.
    However, you will likely run again the Activation Lock
    iCloud: Find My iPhone Activation Lock in iOS 7
    You either have to get the Apple ID and password of the previous owner and enter it or have them remove the iPod from their account.
    Find My iPhone Activation Lock: Removing a device from a previous owner’s account

  • Which file type should I use and how I use it?

    Hello!
    I need to create a file with some data that has been inserted manually.
    In this file, for example, there are:
    ProjectName1: string1, string7… string10, date1
    ProjectName2: string11, string15… string20, date2
    ProjectNamek: string 100, string 116 … string 140, date1
    I know only one thing: one of the strings.
    What I need to find in the file:
    I need to find the string at one of these rows and get its ProjectName and date.
    For example: if I have string15,
    I should find string15 in the file, and get its ProjectName and date:
    ProjectName2, date2
    Which file type should I use and how I use it? What is the best solution?
    Thanks!

    800512 wrote:
    I need to create a file with some data that has been inserted manually.
    In this file, for example, there are:
    ProjectName1: string1, string7… string10, date1In addition to Pandiya's advice, if the string is always in exactly the above format
    (ie:
    1. ProjectName always starts the line and ends with a ':'.
    2. The rest of the strings on the line are separated by ", " and will never contain ", "
    you might also want to have a look at String.split().
    Winston

  • Which iPad Retina should I buy in the US so it will work in the UK?

    I am going to the States next month and want to buy the new iPad there.  Which iPad Retina should I buy in the US so it will work in the UK, the AT&amp;T or Verizon model? I'm probably staying with O2, but can't tell if different models are sold in the UK, or if its just the one.  If just the one, I can't find which model number it is for the UK. The apple store website isn't exactly clear on which model(s) is/are sold in the UK.

    Hi,
    We don't have cellular, but I have often read many ques. and answers here just for my own info when we were first buying. I do know that in the past, Verizon had a different system than ATT and others. That could all have changed with LTE. I checked a couple of articles and found the following links which might help you. PLEASE NOTE these were published in March and May of 2012, so things might have changed with the new ipad 4. Also note that you can buy a cellular here without a contract that you could then set up with your own UK phone company.
    http://www.tomshardware.com/news/Apple-iPad-UK-4G-LTE-Australia,15634.html    May 15, 2012
    http://apple.stackexchange.com/questions/43972/are-the-new-ipads-ipad-3-for-sale -in-the-us-unlocked-for-the-uk    Mar. 2012
    You also said you wanted retina display and then said you were probably staying with 02. If by that you mean the ipad 2, I want to let you know that the ipad 2 does NOT have the retina display. That would mean you'd have to get the old discontinued 'new' ipad or the ipad 4. And if I were you, I would not even think of buying an old 'new ipad, even if there's a great sale on them. I'd go straight to the ipad 4.
    Make sure you do as much research as possible.
    Hope this helps.

  • Which index  I should create  Btree or Bitmap  index?

    I have table with columns c1,c2,c3
    I want to create index on column c1
    which index I should create Btree or Bitmap index
    the column contain 50% unique values and 50% duplicate values
    If Btree why?
    If Bitmap Why?
    I know that
    Btree is used when there more unique values (high cardinality)
    Bitmap is used when there less unique values (low cardinality)

    read this -
    Deadlocks with Bitmap Indexes
    Bitmap indexes were designed to be used solely within data warehouses, i.e. where the vast majority of the database activity is reading data,
    and there's very little (or no) data modification, except for batch processes which occasionally re-populate the warehouse.
    Each "row" in the bitmap index contains references to potentially many different rowids, in contrast to a B*-tree index which references a single rowid.
    It should be obvious, therefore, that, since the transactional mechanism is the same for all database operations, that any DML on a table which impacts the bitmap index may end up locking (or attempting to lock) many different "rows" within the index.
    This is the key concept with deadlocks in bitmap indexes, you're not being deadlocked on the underlying table, but on the index blocks. Courtesy - http://www.oratechinfo.co.uk/deadlocks.html
    hope u got it now...

  • Which uesr exit should I use by such a case

    The requirement is to send the email to manager when anyone create or change the Material data by using MM01/MM02.
    The function of sending email I have done but I don't know which user exit should be used to call the function.
    I have tried  MGA00001 >EXIT_SAPLMGMU_001>INCLUDE ZXMG0U02 and writed some code in the ZXMG0U02. (ex: break point) .but when I modified the Material and saved,the stop does not appear. whether I used a wrong user exit?

    You can use enhancement MGA00001 (industry only) for this.
    For more information, see the documentation for the following components assigned to this enhancement:
    Function Calls :
    EXIT_SAPLMGMU_001
    Enhancement Number : MGA00001
    If you want to send a mail for only material creation/ extend then you can you the badi BADI_MATERIAL_REF.
    we don't have BADI 's for Change the Material master records.
    If you want to send a mail for MM02 also then you can go for the Enhancement ' MGA00001' under the function module 'EXIT_SAPLMGMU_001'.
    Thanks
    Sekhar

Maybe you are looking for

  • Screen sharing and dual displays

    Hi, i added a second display on an iMac and often screen share using my MacBook but since adding the second screen i've had issues screen sharing. It will briefly show both the iMac's displays on my MacBook but then cut out with "connection lost", th

  • Extracting a layout & images from PDF to use in Adobe Illustrator to create webpage

    I have been asked to build a small website based on a PDF template (with an additional .indd file) created by a designer who knows nothing about HTML, but they have advised me is that it should be possible to somehow extract the required components (

  • Restrict cash & bank accounts

    Hi Dear Members, I want to default cash & bank accounts for users. in our company some users use several cash accounts & bank accounts.so can you tell me , 1-how to restrict selected cash & bank accounts  for a user and 2- how to default one cash & b

  • "Backend systems with Release 701 are not supported " - ECC 6.0  to SRM 5.0

    Hi , I have 2 doubts . 1. We are getting Error "Backend systems with Release 701 are not supported "  while replicating vendors from ECC 6.0 backend system to  SRM 5.0 system. There are some notes on simillar topic but are not for SRM 5.0 ,suggested

  • Wavelength clash when streaming wirelessly?

    I have my iTunes set-up to play through my stereo wirelessly. I have a full wireless network at home & have Airport Express & Extreme. The internet generally works ok, sometimes it times out when I'm playing music this way and often my music stops or