Ascii to '\' code display

Hi!
just spent a day and a half to write a program that converts text in '\' code display to understandable text...but realised that I will receive my data in ascii instead. Is there a quick and easy way to convert between these two?
Attachments:
TextConverter1.jpg ‏273 KB
TextConverter2.jpg ‏265 KB

Hi!
Sorry but I can't make it work any way, I think that the problem is that I've got the string by email, I then copy pasted it into a normal display in LabVIEW, it then looked like '\' code display. But when I vahe the same data in ascii and changes the display like you told me to, it doesent work. So Im not realy sure what cinde of data have, I will include my vi's, they are a bit messy so i doubt thet they will help you..
Attachments:
KeyBoard.vi ‏57 KB
TextConverter.vi ‏22 KB

Similar Messages

  • HTML code displays on one line in browser view source

    Hi,
    In Dreamweaver, my HTML code displays returns, spaces, etc. However, in the view source option in a browser (Firefox in particular), all the code is displayed on one single line. I only found about this because I was having problems with my Google Ads not displaying. (A Google customer service person helped me to find a workaround for this since I still haven't figured how to get my code to display correctly.) So I have gone to Preferences in DW and changed my Code Format Line Break type. The result is the same with each of the three options: the code is all on one line when you check it under view source in a browser. (The server is Linux.)
    Does anyone know how to fix this? Also, I think I know how this happened in the first place. I copied my code to TextEdit for a quick backup the other day, and then I pasted it back to DW. Bad idea? Is the only way to get the code back to normal to re-write it in a new HTML file in DW?

    Pssh. Problem solved, but I'm not quite sure how. I did go back and try to clean up some redundant CSS and other things, but the HTML/CSS validator still shows that I have this one invalid <header> tag (www.nextmontenegro.com), but since that was written as part of the DW template, I just left it. Weird. Anyway, the code flows down the page now.
    Thanks for the quick replies and helpful hints:-)

  • HTML-Code displayed instead of value

    To color cells of a report column I entered some code code in "HTML Expression" of a column.
    e.g. the cell INT_DATE should be green if the value of INT_FA is "A", and if it is not "A",
    then - depending on the value of INT_DATE and TAGDAT - the
    cell value INT_DATE should be red or black. This works fine:
    <script language="javascript">
    if ( '#INT_FA#' == 'A' )
    document.writeln('<font color=#33CC33>#INT_DATE#</font>')
    else
    if ( '#INT_DATE#' > '#TAGDAT#' )
    { document.writeln('<font color=#FF0000>#INT_DATE#</font>') }
    else
    { document.writeln('<font color=#000000>#INT_DATE#</font>') }
    </script>
    But for another column INT_FA the similar code produces code display in the tabular cell !!!
    The code is:
    <script language="javascript">
    if ( '#INT_FA#' == 'A' )
    document.writeln('<font color=#33CC33>#INT_FA#</font>')
    else
    if ( '#INT_DATE#' > '#TAGDAT#' )
    { document.writeln('<font color=#FF0000>#INT_FA#</font>') }
    else
    { document.writeln('<font color=#000000>#INT_FA#</font>') }
    </script>
    Any idea why ?
    Heinz

    To color cells of a report column I entered some code code in "HTML Expression" of a column.
    e.g. the cell INT_DATE should be green if the value of INT_FA is "A", and if it is not "A",
    then - depending on the value of INT_DATE and TAGDAT - the
    cell value INT_DATE should be red or black. This works fine (everywhere you see "fon" replace it by "font" !!!)
    <script language="javascript">
    if ( '#INT_FA#' == 'A' )
    document.writeln('<fon color=#33CC33>#INT_DATE#</fon>')
    else
    if ( '#INT_DATE#' > '#TAGDAT#' )
    { document.writeln('<fon color=#FF0000>#INT_DATE#</fon>') }
    else
    { document.writeln('<fon color=#000000>#INT_DATE#</fon>') }
    </script>
    But for another column INT_FA the similar code produces code display in the tabular cell !!!
    The code is:
    <script language="javascript">
    if ( '#INT_FA#' == 'A' )
    document.writeln('<fon color=#33CC33>#INT_FA#</fon>')
    else
    if ( '#INT_DATE#' > '#TAGDAT#' )
    { document.writeln('<fon color=#FF0000>#INT_FA#</fon>') }
    else
    { document.writeln('<fon color=#000000>#INT_FA#</fon>') }
    </script>
    Any idea why ?
    Heinz

  • HTML code displayed in browser

    when viewing the jsp pages from remote network, we are having a problem. The page ends abruptly and the html tags like <td width="30" > are displayed on the browser. the content of the page also ends at the point of html code display. the server console shows no error. Not sure if it is some network or server issue. Please help.

    posting & quot(no space between & and quot) its getting replaced by " so everywhere there is a space between & and <quot/lt/gt/amp) strip that while using.
    HTML reserved characters are & quot; & amp; & lt; & gt; for ", &, <, > respectively.
    while writing such characters, do not directly put < , > &, " use the chars shown above.
    for help here is the utility method that will put the desired chars:
         public static String escapeHTML(String value)
            if (value == null) return "";
            StringBuffer strval = new StringBuffer();
            for (int i = 0; i < value.length(); i++)
                  char ch = value.charAt(i);
                  switch (ch)
                       case '"': strval.append("& quot;"); break;
                       case '&': strval.append("& amp;"); break;
                       case '<': strval.append("& lt;"); break;
                       case '>': strval.append("& gt;"); break;
                       default:
                            if (ch > 126)
                                 strval.append("&#" + String.valueOf(ch) + ";");
                            else
                                 strval.append(ch);
                            break;
             return strval.toString();
         }

  • Using ASCII control codes with BI Publisher

    When trying to print barcodes with BI publisher, I cannot convert the special ASCII control code "GS" (n° 29) with the barcode font I am using (IDAutomationC128S). I got this font some time ago, together with the xdocore.jar file containing the java class that implements the algorithm to encode in 128 barcode. I all works fine when it comes to encode strings containing normal or traditional chars, I get the start char, the stop char, and the checksum control char. However, the client asked us now to insert variable length fields in the barcode. This fields must start with the number "240" so that the barcode reader will know that there's a variable length field next, and they must have the ASCII control code "GS" (group separator, n° 29) to mark the end of the field.
    I first tried to insert this char by doing ALT+29, and I got this: "↔". However, the font I am using does not recognize this char and it does not transform it into a barcode. I then went to the ID Automation website (http://www.idautomation.com/fonts/code128/faq.html) and I saw that, in order to code this char, I should use the symbol "}". I added that in my string, at the end of the field, but then the barcode reader shows the symbol itself and it does not interpret it as the "GS" control code.
    Anybody knows how to deal with that? Anybody knows/has a font able to show this kind of chars?

    Karen,
    In your report query you can use logic like the following to conditionally report on a single or multiple selected values.
    For example you have a page (page 11) where you call the report from and on that page you place a shuttle or multi-select item named P11_PERSON_ID_LIST. When shuttle and multi-select items contain values they are separated by colons. Looks like 213:342:234:456:543
    You can then reference the P11_PERSON_ID_LIST in your query like the following.
    SELECT p.person_id
    ,p.person_name
    FROM people p
    WHERE (:P11_PERSON_ID_LIST IS NULL
    OR instr(':'||:P11_PERSON_ID_LIST||':',':'||p.person_id||':') > 0)
    You can also use logic like the following in your report queries when you have a single optional value in an item.
    SELECT p.person_id
    ,p.person_name
    FROM people p
    WHERE p.person_id = nvl(:P11_PERSON_ID, p.person_id)
    Hope that helps,
    Todd

  • WebForm currency code display issue

    User is still be able to see the currency code displaying on his form after un checking 'display multiple currencies' option in form options. This option was checked before.... I am not seeing the code, but the user can...I verified if there is any user specific preference setting... but can't find anything...
    Any advise on what could be the reason for this... We are on 9.3.x
    Thanks...

    Sometimes this can happen when you have Dynamic Calc Member on the form and that Dynamic Calc formula on that member hasn't got "HSP_InputValue" specified in the formula. i.e its running the calc for all rates in the HSP_Rates dimension
    Thanks
    Anthony

  • Change the XP revision code displayed using winver

    Hi
    I need be able to display/change the XP revision code displayed when running 'winver.exe' under Embedded 2009 Standard. Does anyone know which component/setting I can use to change the revision code (or part of it) to my own version number?
    I have no control over the program that will run on the system, so I need a way of having a revision code that can be displayed to a standard user using standard windows mechanisms, either computer properties or 'winver.exe'
    Many thanks
    Steve W

    You can create an C:\WINDOWS\system32\OEMINFO.INI file, this information will be shown in the "System" control panel the file may look like this:
    [General]
    Manufacturer = Your company name
    Model = MyDevice 1000, SW V1.00
    SupportURL = http://www.yoursite.com
    [OEMSpecific]
    OEM1=Your company name
    I don't think that there is a (official, of course) way to change the versions shown in winver.exe.

  • How do I get Unicode chars beyond the ASCII range to display ?

    Hello all.
    I have just recently started to learn Java.
    I want to display the data in a array using Unicode characters, but when I use the unicode code from the code sheet I merely get a ?.
    I looked about the net and understand that Java doesnt support none ASCII characters (by default?) , I think its possible to import various codes but not sure about that.
    Anyways...
    My question is: How do I get the Unicode character 2254 Box Drawing Element to display (also other non standard ASCII ) ? Print("\u2254") results in a ?.
    If you are wondering why:
    I want to store a map for a game into a data array with the entities represented as normal letters and characters, this map will be generated by the program randomly but I want to see the output of the map to test if its obeying the rules I set out for the map generation.
    I figured just read the array and print out the result , but to make it more legible in debugging convert the text characters to box drawing characters.

    Both methods you mentioned just generate a question mark instead of the box drawing element I want.
    I can get all the normal, ie letters and numbers and the common characters... but beyond that and all I get is a '?' in its place.
    Initially I just wanted it to print the character in the legend.
    The code below just prints a few lines of text , the legend to decipher the level display, and calls a class to create a level ..then the last call is to call a debug class to display the level that was created.
    *   Prelim Code for the Random Dungeon Generator       *
    *   used in Dungeon Runner                             *
    *   Created : 03/07/2009                               *
    public class DungeonGenerator {
          public static void main (String[] args) {
          System.out.println(
               "Prelimary code for the Random Dungeon Generator for Dungeon Runner Game\n\n"
                                   );                    // Just a text heading reminder for me
          System.out.println(
               "Test 1 - debug screen - 03 July 2009\n\n"
          System.out.println("Legend: \u2254 = Top Left Corner \t 2 = Top Right Corner");
          System.out.println("        3 = Bot Left Corner \t 4 = Bot Right Corner");
          System.out.println("        L = Left Wall \t\t R = Right Wall");
          System.out.println("        T = Top Wall \t\t B = Bottom Wall");
          System.out.println("        D = Doorway \t\t + = Play Space");
          System.out.println("        E = Exit Entity \t S = Start Entity");
          System.out.println("        . = None Play Space");
          System.out.println("\n----------------------------------------------------\n");
         // Call the LevelGen
         /** This is just a temperary call method
              I am will use another array and a
              loop to call the LevelGen the
              number of levels I decide the
              game will have
         LevelGen levelone = new LevelGen();          // Calls the LevelGen to create a Level
         levelone.displayLevel();                    // Display the level that was generated
                                                 // for debugging only
          }     // End Main method
    }      // End DungeonGenerator class

  • Hi... some code displays when i open a web page... i copied the info... can i submit and ask what is happening?

    150129... this has been displaying often when i open a webpage in firefox... i have to close the page & reopen it to get it to display without this... whats going on??
    In address bar: https://sc1.checkpoint.com/dev/abine/scripts/inject.js
    Displayed:
    (function () {
    // tell toolbar that inject was successful
    dntPageEvents("hello");
    // return if already injected
    if (window.dntToolbarClicked) return;
    function sendPageEvent(action, params, callback) {
    var documentElement = document.documentElement;
    var element = document.createElement("DNTPDataElement");
    element.setAttribute("action", action);
    if (params) {
    element.setAttribute("param", "[\"" + params + "\"]");
    element.style.display = 'none';
    documentElement.appendChild(element);
    var fn = function () {
    if (callback)
    callback(element.innerHTML);
    element.parentNode.removeChild(element);
    if (!document.addEventListener) { // IE8
    documentElement.DNTPPageEventResponse = 0;
    var listener = function(event){
    if (event.propertyName === 'DNTPPageEventResponse') {
    documentElement.detachEvent('onpropertychange', listener);
    setTimeout(fn, 0);
    documentElement.attachEvent('onpropertychange', listener);
    var triggerEvent = function (retry) {
    var triggerElement = document.getElementById('DNTPPageEvent');
    if (!triggerElement) {
    if (retry < 40)
    setTimeout(function(){triggerEvent(retry+1)}, 50);
    return;
    triggerElement.setAttribute('element', element);
    triggerElement.click();
    triggerEvent(0);
    } else {
    if (document.all) { // IE9
    element.onclick = fn;
    var evt = document.createEvent("CustomEvent");
    evt.initCustomEvent("DNTPPageEvent", true, true, null);
    } else { // all other browsers
    element.addEventListener('click', fn, true);
    var evt = document.createEvent("Events");
    evt.initEvent("DNTPPageEvent", true, false);
    setTimeout(function () {
    element.dispatchEvent(evt);
    }, 50);
    function iconChange(e) {
    e = e || event;
    var target = e.target || e.srcElement;
    var data = target.innerHTML;
    var timer = setInterval(function () {
    try {
    if (typeof dntPageEvents == "function") {
    clearInterval(timer);
    dntPageEvents(data);
    }catch (e) { }
    }, 50);
    var listener = document.createElement('div');
    listener.setAttribute('id', 'zaIconChangeListener');
    listener.setAttribute('dntpIgnore', 'true');
    listener.style.display = 'none';
    document.documentElement.appendChild(listener);
    if (listener.addEventListener)
    listener.addEventListener('click', iconChange, true);
    else if (listener.attachEvent)
    listener.attachEvent('onclick', iconChange);
    window.dntToolbarClicked = function (pos) {
    sendPageEvent('toolbarClicked', pos);
    sendPageEvent('refreshIcon');
    window.dntUpdateIcon = function () {
    sendPageEvent('refreshIcon');
    sendPageEvent('refreshIcon');
    })();

    ''james_s [[#question-1044118|said]]''
    <blockquote>
    150129... this has been displaying often when i open a webpage in firefox... i have to close the page & reopen it to get it to display without this... whats going on??
    In address bar: https://sc1.checkpoint.com/dev/abine/scripts/inject.js
    Displayed:
    (function () {
    // tell toolbar that inject was successful
    dntPageEvents("hello");
    // return if already injected
    if (window.dntToolbarClicked) return;
    function sendPageEvent(action, params, callback) {
    var documentElement = document.documentElement;
    var element = document.createElement("DNTPDataElement");
    element.setAttribute("action", action);
    if (params) {
    element.setAttribute("param", "[\"" + params + "\"]");
    element.style.display = 'none';
    documentElement.appendChild(element);
    var fn = function () {
    if (callback)
    callback(element.innerHTML);
    element.parentNode.removeChild(element);
    if (!document.addEventListener) { // IE8
    documentElement.DNTPPageEventResponse = 0;
    var listener = function(event){
    if (event.propertyName === 'DNTPPageEventResponse') {
    documentElement.detachEvent('onpropertychange', listener);
    setTimeout(fn, 0);
    documentElement.attachEvent('onpropertychange', listener);
    var triggerEvent = function (retry) {
    var triggerElement = document.getElementById('DNTPPageEvent');
    if (!triggerElement) {
    if (retry < 40)
    setTimeout(function(){triggerEvent(retry+1)}, 50);
    return;
    triggerElement.setAttribute('element', element);
    triggerElement.click();
    triggerEvent(0);
    } else {
    if (document.all) { // IE9
    element.onclick = fn;
    var evt = document.createEvent("CustomEvent");
    evt.initCustomEvent("DNTPPageEvent", true, true, null);
    } else { // all other browsers
    element.addEventListener('click', fn, true);
    var evt = document.createEvent("Events");
    evt.initEvent("DNTPPageEvent", true, false);
    setTimeout(function () {
    element.dispatchEvent(evt);
    }, 50);
    function iconChange(e) {
    e = e || event;
    var target = e.target || e.srcElement;
    var data = target.innerHTML;
    var timer = setInterval(function () {
    try {
    if (typeof dntPageEvents == "function") {
    clearInterval(timer);
    dntPageEvents(data);
    }catch (e) { }
    }, 50);
    var listener = document.createElement('div');
    listener.setAttribute('id', 'zaIconChangeListener');
    listener.setAttribute('dntpIgnore', 'true');
    listener.style.display = 'none';
    document.documentElement.appendChild(listener);
    if (listener.addEventListener)
    listener.addEventListener('click', iconChange, true);
    else if (listener.attachEvent)
    listener.attachEvent('onclick', iconChange);
    window.dntToolbarClicked = function (pos) {
    sendPageEvent('toolbarClicked', pos);
    sendPageEvent('refreshIcon');
    window.dntUpdateIcon = function () {
    sendPageEvent('refreshIcon');
    sendPageEvent('refreshIcon');
    </blockquote>
    REPLY TO ANSWERS:
    yes, i use blur and a couple of other security and ad blocker add-ons.
    actually, just now, it was the "firefox help" screen that always displays the code.
    based on info provided by cor-el, i started disabling add-ons... I use zonealarm firewall and antivirus which installs its own toolbar... when i disabled blur & other add-ons in turn, the problem continued... when i disabled the zonealarm toolbar, the problem stopped.
    so im going to surmise that its the zonealarm toolbar causing the problem... ill uninstall it
    great product in firefox... been using it for years... like everything about it... and now the support too!
    thank you for the help.... cheers!!

  • If my code displays a recordset, how can I limit the number of results to display?

    I have the code below:
    <div id="content">
        <table width="998" border="0" cellspacing="4" id="stuff">
            <?php do { ?>
              <tr>
                <td><?php echo $row_Recordset1['name']; ?></td>
    </tr>
    <?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>
    </table>
          <div id="spryTable" spry:region="ds1">
            <table align="center">
              <tr>
                <th spry:sort="name"> </th>
              </tr>
              <tr spry:repeat="ds1" spry:setrow="ds1" spry:hover="hover" spry:select="selected">
               <td height="40" align="center">{name}</td>
               <td height="40" align="center">{name}</td>
              </tr>
              </table>
          </div>
    At the moment the green line prints the names in one column of a table, and the orange line prints the same list again.
    The problem is, I want half the names to be printed in one column and the other half of names to be displayed in the other column.
    Can someone show me how to set the php code to do this? I've been trying various things for a while now without success.
    Thank you.

    I am assuming that you have created a SpryHTMLDataSet from the table produced from the PHP-code.
    To display the result in two columns, use CSS as follows
    <!DOCTYPE HTML>
    <html xmlns:spry="http://ns.adobe.com/spry">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Untitled Document</title>
    <script src="SpryAssets/xpath.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryData.js" type="text/javascript"></script>
    <script type="text/javascript">
    var ds1 = new Spry.Data.XMLDataSet("employees.xml", "employees/employee");
    </script>
    <style>
    .RowContainer {
        width: 400px;
    .RowColumn {
        width: 50%;
        float: left;
    </style>
    </head>
    <body>
    <div spry:region="ds1">
      <div spry:repeat="ds1" class="RowContainer">
        <div class="RowColumn">{firstname} {lastname}</div>
      </div>
    </div>
    </body>
    </html>
    In the example above I have use a SpryXMLDataSet but the principle remains the same. The used XML file is as follows
    <?xml version="1.0" encoding="iso-8859-1"?>
    <employees>
        <employee id="123456">
            <lastname>Smith</lastname>
            <firstname>Edward</firstname>
            <joinDate>2009-10-01</joinDate>
        </employee>
        <employee id="127937">
            <lastname>Johnson</lastname>
            <firstname>Neil</firstname>
            <joinDate>2011-03-06</joinDate>
        </employee>
        <employee id="126474">
            <lastname>Williams</lastname>
            <firstname>Steve</firstname>
            <joinDate>2011-03-20</joinDate>
        </employee>
        <employee id="120585">
            <lastname>Jones</lastname>
            <firstname>John</firstname>
            <joinDate>2010-12-13</joinDate>
        </employee>
        <employee id="127493">
            <lastname>Brown</lastname>
            <firstname>Joe</firstname>
            <joinDate>2011-01-01</joinDate>
        </employee>
    </employees>
    Gramps

  • Time Code displayed on an External Monitor? Is this possible?

    I'm sure this is a dumb question, but is there a way to view your FC time code on your footage through your external monitor? I selected the show time code overlays from the viewer but it only shows up on the monitor on the computer screen and then goes a way when you play a clip. Is there something I’m missing that will allow me to watch the time code on playback, and on an external monitor? Thanks.

    BIG TIME...by Digital Heaven:
    http://www.digital-heaven.co.uk/bigtime/
    This will allow you to have TC display on one of your computer monitors. You cannot have it display on an external monitor...not on any NLE I know of. Not unless you are outputting to a deck and you have TC on the deck (the SUPER out on the back) routed to the monitor.
    Shane

  • Open items of all company codes displaying in vendor or customer payment

    Hi
    I am doing the open item posting for vendors with F-53, But it is showing all the open items of the Extended  vendor in the other company codes. I want to only display one company code open items.
    Please suggest me how to remove that option.
    I am now using the selection criteria for that.
    Thanks

    Hi Vikram,
    For your requirement i am giving the solution as below.
    In F-53 select process open item button, once you filled the fields
    then all line item will appear.There you should select overview button there,then select choose process open item button. now you can give the company code in that screen which one you want.
    next select process open items
    May be this information is useful to you
    Regards
    Surya

  • Incoming calls: Country code displaying wrong

    No idea why this has started happening.  I have two iPhones, one a Malaysia number and one a Thailand number.
    I am in Malaysia now and had two friends of mine call me from Thailand yesterday but despite their numbers being in my phone book, correctly formatted, the phone did not display their names.  Not only did it not display their names it replaced the correct dialling code for Thailand (+66) with the Malaysia code (+60).  Having done some digging the only thing that it seems might be responsible is the International Dial Assist, which I have now turned off.  But I'd have thought IDA would be to assist with dialling, not screwing up the numbers of incoming calls from callers whose numbers are CORRECTLY listed in the Contacts with the CORRECT international code.
    Seems like yet another useless feature that you have to dig around to disable if you want an iPhone to just work.  Why on earth would I would the international code of my contact replaced by the domestic code of my home country???  More and more time I seem to be spending with IOS devices these days just to get them to do what I want!!
    Not impressed at all.  Anyone else come across this useless bug (feature)?

    Caller ID is a carrier feature. The phone can only display what is sent by your carrier. Contact them and report the problem.

  • In PLDs,How do u get Bank Name from Bank code displayed in Payment means

    Hello Experts
    Have an issues with getting bank name which is displayed in the payment means when designing an PLD and viewed in print previews
    i tried but i got the code of the bank name but iam not able to get the bank name
    please help me out in this
    will be waiting for ur reply
    With Regards
    Shankar
    Edited by: Shanker Thodupunoori on Apr 21, 2009 10:23 AM
    Edited by: Shanker Thodupunoori on Apr 21, 2009 10:31 AM

    hi,
    Create database field frm table ODSC - column type - Bank Name,Relate To Bank Code field.
    Jeyakanthan

  • FBL3N: reason code display

    Hi guys
    I'd like to add reason code to the selection screen of FBL3N.
    But it isn't displayed in the list available. While it is in the list available of FBL1N.
    How can I make it selectable on screen FBL3N?
    Should I config something in O7F8? how to do it?
    Thanks

    For some reason I can't display the link.
    I follow the steps in another thread:Add username field to dynamic selection in FBL1N
    1. Executed Transaction SE36
    2. Selected logical database KDF (for FBL1N)
    3. Then Menu -> Extras -> selection views
    4. Selected origins of the view SAP.
    5. Then i selected Table of BKPF, Table fields of USNAM and functional group as 03.
    6. Then saved the changes.
    and make the same changes as you gave me. But still doesn't work.
    In that thread, they finally mentioned notes 310886,1171560 which I don't have ID to logon......
    Please help me.

Maybe you are looking for