search for: white_spac

Displaying 5 results from an estimated 5 matches for "white_spac".

Did you mean: white_space
2006 Mar 21
2
How do I get substring of utf-8 string?
I''m trying to get substring from a utf-8 encoded string. (say, first 50 characters of the string) String#[0..49] would give me the first 50 bytes not 50 characters.. I know there is jcode library, but it only let you count number of characters in utf-8 string. unicode gem doesn''t seem to help much. unicode_hacks gem seem to solve the problem, but it also seems to
2015 Apr 24
4
FYI: dovecot (008632bdfd2c) compilation woes, and minor glitch regarding update-version.sh
...tion-cast -Wno-duplicate-decl-specifier -Wstrict-aliasing=2 -I/usr/local/include -MT fts-tokenizer-generic.lo -MD -MP -MF .deps/fts-tokenizer-generic.Tpo -c fts-tokenizer-generic.c -fPIC -DPIC -o .libs/fts-tokenizer-generic.o fts-tokenizer-generic.c:111:18: error: use of undeclared identifier 'White_Space' if (uint32_find(White_Space, N_ELEMENTS(White_Space), c, &idx)) ^ fts-tokenizer-generic.c:113:18: error: use of undeclared identifier 'Dash' if (uint32_find(Dash, N_ELEMENTS(Dash), c, &idx)) ^ [?] fts-tokenizer-g...
2015 May 04
0
FYI: dovecot (008632bdfd2c) compilation woes, and minor glitch regarding update-version.sh
...cast -Wno-duplicate-decl-specifier -Wstrict-aliasing=2 -I/usr/local/include -MT fts-tokenizer-generic.lo -MD -MP -MF .deps/fts-tokenizer-generic.Tpo -c fts-tokenizer-generic.c -fPIC -DPIC -o .libs/fts-tokenizer-generic.o > fts-tokenizer-generic.c:111:18: error: use of undeclared identifier 'White_Space' > if (uint32_find(White_Space, N_ELEMENTS(White_Space), c, &idx)) > ^ > fts-tokenizer-generic.c:113:18: error: use of undeclared identifier 'Dash' > if (uint32_find(Dash, N_ELEMENTS(Dash), c, &idx)) >...
2005 Dec 21
10
Investigating Unicode. Take 2, with nastities and allegations.
...ard, as of now, comprises 26 (!) characters which can be considered "whitespace". 26, that is, when used inside a string - when it''s at the boundaries it gets 27 (including the zero-width space AKA BOM). So let''s try: kinda_lovely_login = [ 0x0020, # White_Space # Zs SPACE 0x00A0, # White_Space # Zs NO-BREAK SPACE 0x202F, # White_Space # Zs NARROW NO-BREAK SPACE ].pack("U*") And lo and behold... User.new(:login=>kinda_lovely_login).save! Nice, isn''t it? If you wonder -...
2007 Oct 27
0
[ wxruby-Bugs-15115 ] MenuBar and Statusbar showing wrong text
...er/?func=detail&atid=218&aid=15115&group_id=35 Category: Incorrect behavior Group: current Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: MenuBar and Statusbar showing wrong text Initial Comment: $LANGUAGE = "pt-br" WHITE_SPACE_ST = { "pt-br" => "Exibe Espa?os em Branco" } ABOUT_ST = { "pt-br" => "Exibe informa??es sobre o programa" } menuView.append(Toggle_Whitespace, WHITE_SPACE[$LANGUAGE], WHITE_SPACE_ST[$LANGUAGE], ITEM_CHECK) menuHelp.append(Minimal_About, ABOUT[$LANG...