在我的源$ C ​​$ C是什么焦炭160是什么意思? [英] What does char 160 mean in my source code?

查看:140
本文介绍了在我的源$ C ​​$ C是什么焦炭160是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用以下格式字符串格式化数字串## ##,在某些时候,我需要回头这些数字串样(1 234 567)成类似1234567我试图剥离出空字符却发现

I am formatting numbers to string using the following format string "# #.##", at some point I need to turn back these number strings like (1 234 567) into something like 1234567. I am trying to strip out the empty chars but found that

value = value.Replace(" ", "");  

由于某种原因而字符串保持为1 234 567望着我找到字符串之后,

for some reason and the string remain 1 234 567. After looking at the string I found that

值[1]为160。

我想知道什么价值160的手段?

I was wondering what the value 160 means?

推荐答案

答案是看在统一code code图 - 在这里您可以找到的Latin-1补充图;这表明,U + 00A0(160按你的标题,而不是167%的身体)是一种非换空间。

The answer is to look in Unicode Code Charts - where you'll find the Latin-1 supplement chart; this shows that U+00A0 (160 as per your title, not 167 as per the body) is a non-breaking space.

这篇关于在我的源$ C ​​$ C是什么焦炭160是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆