|
|
Composite char
Hi,
there is a ruby gem to manipulate composite characters (0300-036f) like =
=
single char?
I need something like this
s=3D"V=CC=85IX=CC=A3" # V with overline (U0305), I, X with dot below (U0=
323)
s.length #=3D> 3
s[0] #=3D> 'V=CC=85' # V with overline (0305)
thanks, and sorry for my bad english
|
|
0
|
|
|
|
Reply
|
leggi.nell (1)
|
7/18/2012 5:06:44 PM |
|
On 07/18/2012 07:06 PM, Manny Calavera wrote:
> Hi,
> there is a ruby gem to manipulate composite characters (0300-036f) like=
> single char?
What kind of manipulations do you have in mind?
> I need something like this
> s=3D"V=CC=85IX=CC=A3" # V with overline (U0305), I, X with dot below (U=
0323)
> s.length #=3D> 3
> s[0] #=3D> 'V=CC=85' # V with overline (0305)
> thanks, and sorry for my bad english
What's wrong with
irb(main):009:0> ["\u0305", "\u0323"].each {|s| puts s.length, s.bytesize=
}
1
2
1
2
=3D> ["=CC=85", "=CC=A3"]
Kind regards
robert
|
|
0
|
|
|
|
Reply
|
shortcutter (5766)
|
7/19/2012 12:22:28 PM
|
|
|
1 Replies
38 Views
(page loaded in 0.079 seconds)
Similiar Articles: A font with subscripts and superscripts as characters? - comp ...... rough idea, see the font list at >http://www.fileformat.info/info/unicode/char ... Unicode contains a number of characters that composite super and subscripts along with ... Can you explicitly call an implicitly defined operator ...The operators ?= etc. N.B. the ?? operator can ... of ways that a composite subtype can ... You can't call the one-parameter ... test, charT ch ) Defined only if charT is char ... Swing uses bad features - comp.lang.java.guiOne place that this causes problems is in a composite component. Suppose my subclass of ... count = text.length(); for (int i = 0; i < count; i++) { char ... Converting from Y-m-d h:m:s - comp.protocols.time.ntp... 400 != 0 && y % 100 == 0) return 1; } return 0; } int main(int argc, char* argv ... 3 line composite GD&T still not working in 2009 ... - comp.cad ... Converting from Y-m-d ... The Composite Chart - Astrodienst - Horoscope and Astrology ...The concept behind the composite chart - or, as Erin Sullivan sometimes calls it, the compost chart - is that it represents the ... The Composite Chart: Relationship AstrologyComposite chart aspects, ascendant, progressed composite, composite node, interpretation guidelines, house emphasis. 7/20/2012 9:53:14 AM
|
|
|
|
|
|
|
|
|