How to remove strange space symbols in Word












2















I got Word files from one guy, written in Russian and convert them to HTML.



These files contain some strange white-space characters, for example:



enter image description here



You see this looks like small zero (I changed mode to show special characters). In hide mode it's just space.



Problem that these characters looks ugly when converting file to HTML.



I need to remove them. But if I search them, it doesn't distinguish them from use space (look like dot), so I manually scan all file to find and remove them.



So, how I can find and remove these special symbols?










share|improve this question



























    2















    I got Word files from one guy, written in Russian and convert them to HTML.



    These files contain some strange white-space characters, for example:



    enter image description here



    You see this looks like small zero (I changed mode to show special characters). In hide mode it's just space.



    Problem that these characters looks ugly when converting file to HTML.



    I need to remove them. But if I search them, it doesn't distinguish them from use space (look like dot), so I manually scan all file to find and remove them.



    So, how I can find and remove these special symbols?










    share|improve this question

























      2












      2








      2








      I got Word files from one guy, written in Russian and convert them to HTML.



      These files contain some strange white-space characters, for example:



      enter image description here



      You see this looks like small zero (I changed mode to show special characters). In hide mode it's just space.



      Problem that these characters looks ugly when converting file to HTML.



      I need to remove them. But if I search them, it doesn't distinguish them from use space (look like dot), so I manually scan all file to find and remove them.



      So, how I can find and remove these special symbols?










      share|improve this question














      I got Word files from one guy, written in Russian and convert them to HTML.



      These files contain some strange white-space characters, for example:



      enter image description here



      You see this looks like small zero (I changed mode to show special characters). In hide mode it's just space.



      Problem that these characters looks ugly when converting file to HTML.



      I need to remove them. But if I search them, it doesn't distinguish them from use space (look like dot), so I manually scan all file to find and remove them.



      So, how I can find and remove these special symbols?







      microsoft-word characters whitespace symbols






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 3 hours ago









      AlexanAlexan

      1921417




      1921417






















          1 Answer
          1






          active

          oldest

          votes


















          4














          That symbol is called a non-breaking space (NBSP), and is, in Unicode U+00A0 (which, as you correctly pointed out, is different from a regular space, which is Unicode U+0020).



          The non-breaking space is used when you want there to be whitespace between two words, but you don't want Word (or any other text editor that supports them) to put a line break or line wrap there. For example, they're useful if you want to write the sentence "This computer supports Microsoft Windows." without a line break between "Microsoft" and "Windows".



          As for your problem with seeing them in your Word document, it's very easy to fix. All you need to do is copy-paste and example of an NBSP into the search part of Find and Replace, and then type a regular space into the replace part. This should clear up your problem.





          Some more information about NBSP, if you're curious, can be found at Wikipedia. However, it is useful to know for your purposes that while HTML treats any number of consecutive regular spaces as one space, it handles NBSP specially (you may have seen it represented in your HTML output as  ). This is so that users can have a bit more fine-grained control over spacing in situations where CSS isn't suitable (or if you just want a quick and dirty hack :) ). So you may find that NBSPs do come in handy in HTML eventually - however, they definitely clutter up your HTML source, and they're annoying when not needed.



          You may also like to know how to insert NBSPs in Word yourself - without having to copy-paste from Wikipedia all the time. You can insert them from the Insert Symbol dialog (Insert tab > Symbol > Special Characters tab > Nonbreaking space). You can also use the shortcut Ctrl+Shift+Space. In the Find and Replace dialog, you can also insert them by clicking More >>, then the Special dropdown, then Nonbreaking space.






          share|improve this answer





















          • 1





            yes, it works, thank you

            – Alexan
            3 hours ago












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          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: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          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%2fsuperuser.com%2fquestions%2f1421154%2fhow-to-remove-strange-space-symbols-in-word%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









          4














          That symbol is called a non-breaking space (NBSP), and is, in Unicode U+00A0 (which, as you correctly pointed out, is different from a regular space, which is Unicode U+0020).



          The non-breaking space is used when you want there to be whitespace between two words, but you don't want Word (or any other text editor that supports them) to put a line break or line wrap there. For example, they're useful if you want to write the sentence "This computer supports Microsoft Windows." without a line break between "Microsoft" and "Windows".



          As for your problem with seeing them in your Word document, it's very easy to fix. All you need to do is copy-paste and example of an NBSP into the search part of Find and Replace, and then type a regular space into the replace part. This should clear up your problem.





          Some more information about NBSP, if you're curious, can be found at Wikipedia. However, it is useful to know for your purposes that while HTML treats any number of consecutive regular spaces as one space, it handles NBSP specially (you may have seen it represented in your HTML output as  ). This is so that users can have a bit more fine-grained control over spacing in situations where CSS isn't suitable (or if you just want a quick and dirty hack :) ). So you may find that NBSPs do come in handy in HTML eventually - however, they definitely clutter up your HTML source, and they're annoying when not needed.



          You may also like to know how to insert NBSPs in Word yourself - without having to copy-paste from Wikipedia all the time. You can insert them from the Insert Symbol dialog (Insert tab > Symbol > Special Characters tab > Nonbreaking space). You can also use the shortcut Ctrl+Shift+Space. In the Find and Replace dialog, you can also insert them by clicking More >>, then the Special dropdown, then Nonbreaking space.






          share|improve this answer





















          • 1





            yes, it works, thank you

            – Alexan
            3 hours ago
















          4














          That symbol is called a non-breaking space (NBSP), and is, in Unicode U+00A0 (which, as you correctly pointed out, is different from a regular space, which is Unicode U+0020).



          The non-breaking space is used when you want there to be whitespace between two words, but you don't want Word (or any other text editor that supports them) to put a line break or line wrap there. For example, they're useful if you want to write the sentence "This computer supports Microsoft Windows." without a line break between "Microsoft" and "Windows".



          As for your problem with seeing them in your Word document, it's very easy to fix. All you need to do is copy-paste and example of an NBSP into the search part of Find and Replace, and then type a regular space into the replace part. This should clear up your problem.





          Some more information about NBSP, if you're curious, can be found at Wikipedia. However, it is useful to know for your purposes that while HTML treats any number of consecutive regular spaces as one space, it handles NBSP specially (you may have seen it represented in your HTML output as  ). This is so that users can have a bit more fine-grained control over spacing in situations where CSS isn't suitable (or if you just want a quick and dirty hack :) ). So you may find that NBSPs do come in handy in HTML eventually - however, they definitely clutter up your HTML source, and they're annoying when not needed.



          You may also like to know how to insert NBSPs in Word yourself - without having to copy-paste from Wikipedia all the time. You can insert them from the Insert Symbol dialog (Insert tab > Symbol > Special Characters tab > Nonbreaking space). You can also use the shortcut Ctrl+Shift+Space. In the Find and Replace dialog, you can also insert them by clicking More >>, then the Special dropdown, then Nonbreaking space.






          share|improve this answer





















          • 1





            yes, it works, thank you

            – Alexan
            3 hours ago














          4












          4








          4







          That symbol is called a non-breaking space (NBSP), and is, in Unicode U+00A0 (which, as you correctly pointed out, is different from a regular space, which is Unicode U+0020).



          The non-breaking space is used when you want there to be whitespace between two words, but you don't want Word (or any other text editor that supports them) to put a line break or line wrap there. For example, they're useful if you want to write the sentence "This computer supports Microsoft Windows." without a line break between "Microsoft" and "Windows".



          As for your problem with seeing them in your Word document, it's very easy to fix. All you need to do is copy-paste and example of an NBSP into the search part of Find and Replace, and then type a regular space into the replace part. This should clear up your problem.





          Some more information about NBSP, if you're curious, can be found at Wikipedia. However, it is useful to know for your purposes that while HTML treats any number of consecutive regular spaces as one space, it handles NBSP specially (you may have seen it represented in your HTML output as  ). This is so that users can have a bit more fine-grained control over spacing in situations where CSS isn't suitable (or if you just want a quick and dirty hack :) ). So you may find that NBSPs do come in handy in HTML eventually - however, they definitely clutter up your HTML source, and they're annoying when not needed.



          You may also like to know how to insert NBSPs in Word yourself - without having to copy-paste from Wikipedia all the time. You can insert them from the Insert Symbol dialog (Insert tab > Symbol > Special Characters tab > Nonbreaking space). You can also use the shortcut Ctrl+Shift+Space. In the Find and Replace dialog, you can also insert them by clicking More >>, then the Special dropdown, then Nonbreaking space.






          share|improve this answer















          That symbol is called a non-breaking space (NBSP), and is, in Unicode U+00A0 (which, as you correctly pointed out, is different from a regular space, which is Unicode U+0020).



          The non-breaking space is used when you want there to be whitespace between two words, but you don't want Word (or any other text editor that supports them) to put a line break or line wrap there. For example, they're useful if you want to write the sentence "This computer supports Microsoft Windows." without a line break between "Microsoft" and "Windows".



          As for your problem with seeing them in your Word document, it's very easy to fix. All you need to do is copy-paste and example of an NBSP into the search part of Find and Replace, and then type a regular space into the replace part. This should clear up your problem.





          Some more information about NBSP, if you're curious, can be found at Wikipedia. However, it is useful to know for your purposes that while HTML treats any number of consecutive regular spaces as one space, it handles NBSP specially (you may have seen it represented in your HTML output as  ). This is so that users can have a bit more fine-grained control over spacing in situations where CSS isn't suitable (or if you just want a quick and dirty hack :) ). So you may find that NBSPs do come in handy in HTML eventually - however, they definitely clutter up your HTML source, and they're annoying when not needed.



          You may also like to know how to insert NBSPs in Word yourself - without having to copy-paste from Wikipedia all the time. You can insert them from the Insert Symbol dialog (Insert tab > Symbol > Special Characters tab > Nonbreaking space). You can also use the shortcut Ctrl+Shift+Space. In the Find and Replace dialog, you can also insert them by clicking More >>, then the Special dropdown, then Nonbreaking space.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 3 hours ago

























          answered 3 hours ago









          Niayesh IskyNiayesh Isky

          220210




          220210








          • 1





            yes, it works, thank you

            – Alexan
            3 hours ago














          • 1





            yes, it works, thank you

            – Alexan
            3 hours ago








          1




          1





          yes, it works, thank you

          – Alexan
          3 hours ago





          yes, it works, thank you

          – Alexan
          3 hours ago


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • 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%2fsuperuser.com%2fquestions%2f1421154%2fhow-to-remove-strange-space-symbols-in-word%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







          Popular posts from this blog

          How to label and detect the document text images

          Vallis Paradisi

          Tabula Rosettana