search for: unicod

Displaying 20 results from an estimated 2234 matches for "unicod".

Did you mean: unicode
2012 Dec 11
2
Writing escaped unicode
I'd like to write unicode strings using the "\u" escape syntax. According to the documentation, print.default or encodeString will escape unicode using the \u convention. In practice, I can't make it work. > b="Unicode character: \ufffd" > print.default(b) [1] "Unicode character: ?&quo...
2015 Feb 26
2
Native characterset is wrong for unicode builds for Windows
...t;> [1] "?????" >> > enc2native("?????") >> [1] "??<U+0394><U+040A><U+05EA>" >> > Encoding(enc2native("?????")) >> [1] "latin1" >> >> And this is wrong. The native character set of a unicode application >> under Windows is *Unicode*. enc2native should do the same under Windows >> as it does on Ubuntu. Also the "unknown" encoding should be changed to >> mean the same as "UTF-8" exactly as it is on Linux. > What is a "unicode application&quo...
2007 Apr 05
7
Re: how to use Chinese Characters in wxRuby?
yes,I'm using wxruby2 When I change "samples/text/unicode.rb" 's content: require 'wx' into begin require 'wx' rescue LoadError => no_wx_err begin require 'rubygems' require 'wx' rescue LoadError raise no_wx_err end end and run unicode.rb in this way: ruby -Ku unicode.rb I got the error...
2015 Feb 26
4
Native characterset is wrong for unicode builds for Windows
...In Windows the result is different: > "?????" [1] "?????" > enc2native("?????") [1] "??<U+0394><U+040A><U+05EA>" > Encoding(enc2native("?????")) [1] "latin1" And this is wrong. The native character set of a unicode application under Windows is *Unicode*. enc2native should do the same under Windows as it does on Ubuntu. Also the "unknown" encoding should be changed to mean the same as "UTF-8" exactly as it is on Linux.
2005 Aug 28
7
Unicode support in FXRuby 1.6
All, As some of you know, Jeroen has added support for Unicode strings in the unstable development version of FOX (version 1.5). I''m trying to plan ahead to decide how best to support this for FXRuby 1.6, but I don''t really know anything about Ruby''s support for Unicode or i18n in general. If you''re familiar with this t...
2011 Aug 28
4
[LLVMdev] LLVM supports Unicode?
Am 28.08.2011 16:02, schrieb geovanisouza92 at gmail.com: > Well, have you any idea about how I can implement rightly Unicode in C/C++? What do you mean with "implement in C/C++"? If you mean adding libraries to C/C++ that correctly deal with Unicode: that's nothing you do with a compiler infrastructure. And probably duplicate work, since Unicode libraries already exist. If you mean making the C/C++ co...
2015 Feb 27
2
Native characterset is wrong for unicode builds for Windows
...gt; enc2native("?????") >>>> [1] "??<U+0394><U+040A><U+05EA>" >>>> > Encoding(enc2native("?????")) >>>> [1] "latin1" >>>> >>>> And this is wrong. The native character set of a unicode application >>>> under Windows is *Unicode*. enc2native should do the same under Windows >>>> as it does on Ubuntu. Also the "unknown" encoding should be changed to >>>> mean the same as "UTF-8" exactly as it is on Linux. >>> What is...
2015 Feb 27
0
Native characterset is wrong for unicode builds for Windows
...uot; >>> > enc2native("?????") >>> [1] "??<U+0394><U+040A><U+05EA>" >>> > Encoding(enc2native("?????")) >>> [1] "latin1" >>> >>> And this is wrong. The native character set of a unicode application >>> under Windows is *Unicode*. enc2native should do the same under Windows >>> as it does on Ubuntu. Also the "unknown" encoding should be changed to >>> mean the same as "UTF-8" exactly as it is on Linux. >> What is a "unicode...
2011 Aug 28
0
[LLVMdev] LLVM supports Unicode?
Hi, Jo! I'm trying create a new programming language, and I want that it have Unicode support (support for read and manipulate rightly the source-code and string literals). But, in addition, my programming language supports "string interpolation" string, and in these interpolations, tiny snippets of code, like expressions, or variable names. So, I need read each char, s...
2005 Dec 02
3
unicode support in samba
Hi! All: I'm working on add unicode support in samba. However, I meet a question = as the following description, please advise me. My smb.conf sets: dos charset =3D UTF8 display charset =3D UTF8 unix charset =3D UTF8 I use smbmount //share /path -o username=3Duser,passwd=3D1234 to mount a = directory to a us...
2011 May 20
2
Rails DB defaults to utf8 for mysql -- but unicode for postgresql
Hi, Creating a new Rails application with -d postgresql sets the encoding in the database.yml to unicode Creating a new Rails with -d mysql sets the encoding to utf8 Any ideas why this difference? I''ve been having problems with encoding due to localization, accents, json and what no. I thought I was using utf8 and not unicode. Would this have any impact? If this would be an issue? What t...
2006 Feb 02
5
Fwd: win32-clipboard and Unicode zero bytes
Hi all, I''m forwarding this message from Brian Marick. If you run this test script and then paste the results into a Unicode aware text editor, you''ll notice that it only prints one character instead of three. I tried changing the strlen to _tcslen and strcpy to _tcscpy, but that didn''t help. I mucked around a bit with the MultiByteToWideChar function, too, but didn''t have any luck. Any ide...
2002 Jan 13
0
Unicode conversions from JA encodings
Background link for those unfamiliar: http://www.debian.or.jp/~kubota/unicode-symbols.html W3's suggestions for within XML: http://www.w3.org/TR/japanese-xml/ The nice thing about this document is it gives data for a bunch of different translation tables, and enumerates their differences. (This is only about Japanese encodings. I believe similar problems may exist f...
2006 Jun 25
7
Unicode HOWTO?
I am disappointed about the (seeming) lack of Unicode support in Rails. Is there a howto about working the most important limitations? For example, figuring out the length of an entered word: "???".length() will return 6, not 3. So if there is a maximum number of characters a user is allowed to enter, this won''t work as it shou...
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 change the methods of String class directly so that it may confuse rails which expects String#[] to give back bytes not characters. Can somebody point out what should be the route I sh...
2023 Jun 08
2
need help with plotmath and/or plotting unicode characters
R 4.2.3 OS X Colleagues This should be easy -- but not for me. I want to plot text similar to this: N ? XX: YY where XX can be either 1 or 50 and YY is an integer I envision that there would be two solutions: UNICODE: If I can generate "?" via unicode, the problem is solved: mtext(side=3, paste0("N ", UNICODE, " ", XX, ": ", YY)) PLOTMATH: mtext(side=3, bquote(N <= .(XX) ~":" ~ .(YY))) This comes close: N ? 2 : 13 but I want to remove the space between t...
2008 Nov 10
4
PathFindExtension and wide strings
Hi, What''s happening here? require ''windows/path'' require ''windows/unicode'' include Windows::Path include Windows::Unicode file_a = ''bar.txt'' file_w = multi_to_wide(file_a) p PathFindExtensionA(file_a) # ''.txt'' => OK p PathFindExtensionW(file_w) # ''.'' => WRONG Is Ruby chopping the result becau...
2006 Sep 12
6
Patch for Unicode on windows
This patch makes Unicode the default build for windows. You can override the default by setting a WXRUBY_NO_UNICODE environment variable. Roy _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2023 Jul 25
1
Bug in perl=TRUE regexp matching?
...>> >> >> On 7/23/23 4:29 PM, Duncan Murdoch wrote: >>> The help page for `?gsub` says (in the context of performance >>> considerations): >>> >>> >>> "... just one UTF-8 string will force all the matching to be done in >>> Unicode" >> >> It's been a little while since I looked at the code but IIRC this just >> means that strings are converted to UTF-8 before matching.? The problem >> here seems to be more about the interpretation of the "\\w+" token by >> PCRE.? I think this...
2009 Sep 09
4
tables with Unicode box drawing characters?
...red proposed format. I also read the mailing list archives for 2009 but did not find any clear concesus on whether DW's format was officially accepted (I hope it is soon!). However, I want to ask: has anyone considered taking these simple ASCII table drawings to the next level of realism with Unicode box drawing characters[2]? I have long admired the w3m browser[3]'s ability to render HTML tables using Unicode box drawing characters. For example, w3m renders this[4] demo page as follows[5]: A more complex table-within-a table. An inner table showing a...