How to remove strange space symbols in Word
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:
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
add a comment |
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:
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
add a comment |
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:
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
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:
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
microsoft-word characters whitespace symbols
asked 4 hours ago
AlexanAlexan
2021417
2021417
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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
.
2
yes, it works, thank you
– Alexan
3 hours ago
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
.
2
yes, it works, thank you
– Alexan
3 hours ago
add a comment |
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
.
2
yes, it works, thank you
– Alexan
3 hours ago
add a comment |
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
.
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
.
edited 3 hours ago
answered 3 hours ago
Niayesh IskyNiayesh Isky
230210
230210
2
yes, it works, thank you
– Alexan
3 hours ago
add a comment |
2
yes, it works, thank you
– Alexan
3 hours ago
2
2
yes, it works, thank you
– Alexan
3 hours ago
yes, it works, thank you
– Alexan
3 hours ago
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e) {
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom)) {
StackExchange.using('gps', function() { StackExchange.gps.track('embedded_signup_form.view', { location: 'question_page' }); });
$window.unbind('scroll', onScroll);
}
};
$window.on('scroll', onScroll);
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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