How do we get the readable string from big endian hex stringProcess a file that starts with a BOM (FF FE)get parts of string using shell scriptHow to recognize which ASCII character in hex is this?How to use the results of “file” (Name of Creating Application: Microsoft Word) to search for a specific string?How to convert an special hex character from an html page in bash?How to replace a substring from a variable?Inputting extended ascii valuesFinding how many hex values a string containing hex and random stringhow to read a nul-terminated-string from a binary fileHow to Replace a string by another in a text file

Is there a good way to store credentials outside of a password manager?

At which point does a character regain all their Hit Dice?

How do I define a right arrow with bar in LaTeX?

Time travel short story where a man arrives in the late 19th century in a time machine and then sends the machine back into the past

How can I get through very long and very dry, but also very useful technical documents when learning a new tool?

Was the picture area of a CRT a parallelogram (instead of a true rectangle)?

How could Frankenstein get the parts for his _second_ creature?

Where in the Bible does the greeting ("Dominus Vobiscum") used at Mass come from?

What to do with wrong results in talks?

How to prove that the query oracle is unitary?

Why are on-board computers allowed to change controls without notifying the pilots?

How do I rename a LINUX host without needing to reboot for the rename to take effect?

HashMap containsKey() returns false although hashCode() and equals() are true

How does a character multiclassing into warlock get a focus?

when is out of tune ok?

If a character can use a +X magic weapon as a spellcasting focus, does it add the bonus to spell attacks or spell save DCs?

What will be the benefits of Brexit?

Opposite of a diet

What would happen if the UK refused to take part in EU Parliamentary elections?

Star/Wye electrical connection math symbol

How will losing mobility of one hand affect my career as a programmer?

Is there a problem with hiding "forgot password" until it's needed?

Is a roofing delivery truck likely to crack my driveway slab?

Efficiently merge handle parallel feature branches in SFDX



How do we get the readable string from big endian hex string


Process a file that starts with a BOM (FF FE)get parts of string using shell scriptHow to recognize which ASCII character in hex is this?How to use the results of “file” (Name of Creating Application: Microsoft Word) to search for a specific string?How to convert an special hex character from an html page in bash?How to replace a substring from a variable?Inputting extended ascii valuesFinding how many hex values a string containing hex and random stringhow to read a nul-terminated-string from a binary fileHow to Replace a string by another in a text file













-1















How do we get the readable string from hex string



0049006e00740072006f

of BE which means as normal word, ie. we dont have to swap the byte pair per word



tried with xxd in vain, cause I dont know anything of it:



$ xxd <<<0049006e00740072006f
00000000: 3030 3439 3030 3665 3030 3734 3030 3732 0049006e00740072
00000010: 3030 3666 3030 3634 3030 3735 3030 3633 006f006400750063









share|improve this question




























    -1















    How do we get the readable string from hex string



    0049006e00740072006f

    of BE which means as normal word, ie. we dont have to swap the byte pair per word



    tried with xxd in vain, cause I dont know anything of it:



    $ xxd <<<0049006e00740072006f
    00000000: 3030 3439 3030 3665 3030 3734 3030 3732 0049006e00740072
    00000010: 3030 3666 3030 3634 3030 3735 3030 3633 006f006400750063









    share|improve this question


























      -1












      -1








      -1








      How do we get the readable string from hex string



      0049006e00740072006f

      of BE which means as normal word, ie. we dont have to swap the byte pair per word



      tried with xxd in vain, cause I dont know anything of it:



      $ xxd <<<0049006e00740072006f
      00000000: 3030 3439 3030 3665 3030 3734 3030 3732 0049006e00740072
      00000010: 3030 3666 3030 3634 3030 3735 3030 3633 006f006400750063









      share|improve this question
















      How do we get the readable string from hex string



      0049006e00740072006f

      of BE which means as normal word, ie. we dont have to swap the byte pair per word



      tried with xxd in vain, cause I dont know anything of it:



      $ xxd <<<0049006e00740072006f
      00000000: 3030 3439 3030 3665 3030 3734 3030 3732 0049006e00740072
      00000010: 3030 3666 3030 3634 3030 3735 3030 3633 006f006400750063






      string character-encoding ascii hex






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited yesterday









      Rui F Ribeiro

      41.7k1483142




      41.7k1483142










      asked yesterday









      abdanabdan

      274




      274




















          1 Answer
          1






          active

          oldest

          votes


















          2














          You are supplying your value as a string, not as hex!



          If you want xxd to interpret it as raw hex, you need to use - to read from stdin.



          Use the -r flag for reverse operation, and -p to output in postscript style.



          xxd -r -p - <<< 0049006e00740072006f


          returns



          Intro





          share|improve this answer

























          • @PhilipCouling Thank you for the suggestion, I have edited the answer.

            – Panki
            yesterday










          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f508482%2fhow-do-we-get-the-readable-string-from-big-endian-hex-string%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          2














          You are supplying your value as a string, not as hex!



          If you want xxd to interpret it as raw hex, you need to use - to read from stdin.



          Use the -r flag for reverse operation, and -p to output in postscript style.



          xxd -r -p - <<< 0049006e00740072006f


          returns



          Intro





          share|improve this answer

























          • @PhilipCouling Thank you for the suggestion, I have edited the answer.

            – Panki
            yesterday















          2














          You are supplying your value as a string, not as hex!



          If you want xxd to interpret it as raw hex, you need to use - to read from stdin.



          Use the -r flag for reverse operation, and -p to output in postscript style.



          xxd -r -p - <<< 0049006e00740072006f


          returns



          Intro





          share|improve this answer

























          • @PhilipCouling Thank you for the suggestion, I have edited the answer.

            – Panki
            yesterday













          2












          2








          2







          You are supplying your value as a string, not as hex!



          If you want xxd to interpret it as raw hex, you need to use - to read from stdin.



          Use the -r flag for reverse operation, and -p to output in postscript style.



          xxd -r -p - <<< 0049006e00740072006f


          returns



          Intro





          share|improve this answer















          You are supplying your value as a string, not as hex!



          If you want xxd to interpret it as raw hex, you need to use - to read from stdin.



          Use the -r flag for reverse operation, and -p to output in postscript style.



          xxd -r -p - <<< 0049006e00740072006f


          returns



          Intro






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited yesterday

























          answered yesterday









          PankiPanki

          838412




          838412












          • @PhilipCouling Thank you for the suggestion, I have edited the answer.

            – Panki
            yesterday

















          • @PhilipCouling Thank you for the suggestion, I have edited the answer.

            – Panki
            yesterday
















          @PhilipCouling Thank you for the suggestion, I have edited the answer.

          – Panki
          yesterday





          @PhilipCouling Thank you for the suggestion, I have edited the answer.

          – Panki
          yesterday

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f508482%2fhow-do-we-get-the-readable-string-from-big-endian-hex-string%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          -ascii, character-encoding, hex, string

          Popular posts from this blog

          Creating 100m^2 grid automatically using QGIS?Creating grid constrained within polygon in QGIS?Createing polygon layer from point data using QGIS?Creating vector grid using QGIS?Creating grid polygons from coordinates using R or PythonCreating grid from spatio temporal point data?Creating fields in attributes table using other layers using QGISCreate .shp vector grid in QGISQGIS Creating 4km point grid within polygonsCreate a vector grid over a raster layerVector Grid Creates just one grid

          Nikolai Prilezhaev Bibliography References External links Navigation menuEarly Russian Organic Chemists and Their Legacy092774english translationRussian Biography

          Why is this plane circling around the Lucknow airport every day?Why do aircraft on Flight Radar 24 jump around randomly sometimes?What airport has this walkway over a taxiway?How does Chicago O'Hare's tower sequence aircraft at peak capacity?Which airport is featured in this Delta commercial?After a crash, for how long is the airport closed?Can a passenger plane stand still in the air, or hover at a fixed location above a ground?What are those trucks towing around, and why?What is this airport outside of Cairo, Egypt?Which US airport has the lowest circling MDH?What is this airport video?