English 中文(简体)
1.9.2 统法协会——统法协会
原标题:Ruby 1.9.2 Unicode - Unicode Escaped Characters Being Dropped

我在UTF-8(根据编码)。 姓名和邮局; .valid_encoding?)和其中的单编码属逃(009A)。

“Hammarskju009Ald”

这一生命线被印成“Hammarskjšld”,但只是graph倒。 EG:

puts “Hammarskju009Ald”
p “Hammarskju009Ald”

Results in the text:

Hammarskjld
“Hammarskju009Ald”

此外(如果我没有数据库中的数据),在数据库之外,数据也会下降。 我在寻找一个时段,但我可以清楚地说明如何替罪羊(这是我需要做的事)。 很多情况是1.8.7,其中一部分是1.9.2的 st脚,与我的需要相当。

没有人对我想要做什么有什么想法? 我似乎有一个有效的UTF-8号指示,即我所要做到的都是在数据库(Inact)中拯救的,但总是放弃了越走的单码。

问题回答

你们是否保证放弃,而不仅仅是展示? 或许,这只是你在那个法典点具有不显示零宽度的问题。

当你从数据库和<代码>p上删除或spect时,如果你看到越狱的性质,就意味着它不会消失。 各位将这一问题印成文。





相关问题
Ruby parser in Java

The project I m doing is written in Java and parsers source code files. (Java src up to now). Now I d like to enable parsing Ruby code as well. Therefore I am looking for a parser in Java that parses ...

rails collection_select vs. select

collection_select and select Rails helpers: Which one should I use? I can t see a difference in both ways. Both helpers take a collection and generates options tags inside a select tag. Is there a ...

RubyCAS-Client question: Rails

I ve installed RubyCAS-Client version 2.1.0 as a plugin within a rails app. It s working, but I d like to remove the ?ticket= in the url. Is this possible?

Ordering a hash to xml: Rails

I m building an xml document from a hash. The xml attributes need to be in order. How can this be accomplished? hash.to_xml

multiple ruby extension modules under one directory

Can sources for discrete ruby extension modules live in the same directory, controlled by the same extconf.rb script? Background: I ve a project with two extension modules, foo.so and bar.so which ...

Text Editor for Ruby-on-Rails

guys which text editor is good for Rubyonrails? i m using Windows and i was using E-Texteditor but its not free n its expired now can anyone plese tell me any free texteditor? n which one is best an ...

热门标签