similar to: String encoding problem

Displaying 20 results from an estimated 2000 matches similar to: "String encoding problem"

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"
2016 Jul 07
0
String encoding problem
> On Jul 7, 2016, at 11:40 AM, 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 >>>
2016 Jul 07
2
String encoding problem
>>> I'm not sure what should happen here, but that's not a legal string in a >>> UTF-8 locale, so it's not too surprising that things go wonky. >> >> Here's bit more context on how I got that sequence of bytes: >> >> x <- "?????" >> y <- iconv(x, to = "Shift-JIS") >> Encoding(y) >> y >>
2017 Mar 13
2
virt-customize fail to inject firstboot script when running it from script.
Hello, We have a nodejs app which is injecting first boot scripts using virt-customize however the exact same commands are working when triggered manually. Here is the debug output of the commands Regards, Peter [ 0.0] Examining the guest ... libguestfs: trace: set_network true libguestfs: trace: set_network = 0 libguestfs: trace: add_drive
2017 Mar 14
0
Re: virt-customize fail to inject firstboot script when running it from script.
On Mon, Mar 13, 2017 at 11:48:05PM +0200, Keresztes Péter-Zoltán wrote: > Hello, > > We have a nodejs app which is injecting first boot scripts using virt-customize however the exact same commands are working when triggered manually. > > Here is the debug output of the commands Which version of virt-customize? A number of bugs were fixed in this part of the code in the last
2017 Mar 14
2
Re: virt-customize fail to inject firstboot script when running it from script.
I am running libguestfs version 1.34.2 The issue is the following. When I start the vm with virt-log I see this: Mar 13 17:33:30 multi6 firstboot.sh[358]: /usr/lib/virt-sysprep/firstboot.sh start Mar 13 17:33:30 multi6 cron[359]: (CRON) INFO (Running @reboot jobs) Mar 13 17:33:30 multi6 firstboot.sh[358]: Scripts dir: /usr/lib/virt-sysprep/scripts Mar 13 17:33:30 multi6 firstboot.sh[358]: ===
2012 Dec 15
1
virt-resize Fatal error: exception Guestfs.Error("e2fsck_f
We?ve been seeing this a lot lately on generic CentOS 6 rpm installs: rpm -qa | grep libguestfs libguestfs-java-1.16.19-1.el6.x86_64 libguestfs-java-devel-1.16.19-1.el6.x86_64 libguestfs-1.16.19-1.el6.x86_64 libguestfs-tools-1.16.19-1.el6.x86_64 libguestfs-javadoc-1.16.19-1.el6.x86_64 libguestfs-devel-1.16.19-1.el6.x86_64 libguestfs-tools-c-1.16.19-1.el6.x86_64
2010 Nov 18
2
i18n_routes
Hello i have an domain in .рф (РФ is the first TLD, where domain names are put in Cyrillic script only.) (see also http://teimos.ru/x/punycode/) i''m trying to get working routes in cyrillic like http://теймос.рф/привет (XN--E1AIJIPB.XN--P1AI/XN--B1AGH1AFP) to welcome#index (for example) i tryed different ways but no luck with them all... in Gemfile ---------------\ gem
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
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):
2002 Nov 01
1
Manipulating dataframe
Hi: Suppose, I have a dataframe (with N rows) containing the following variables: ID X82 X85 X88 >From this, I'd like to create a new dataframe (with 3*N rows), which will have the following variables: ID X82 X85 X88 Xrep where: each ID is duplicated 3 times; X82 equals its original value for the first row and equals NA for the other two; X85 equals its original value for
2007 Dec 20
0
Data bug that read.csv doesn't like
Hello, I have a bug in my data that read.csv doesn't like, but _only_ when specifying "na.strings = 'missing'". If I delete the offending Chinese characters the problem goes away as well. I'm satisfied that the problems with this data file are fixed, but is there anything I can to do avoid this in the future (other than avoiding Chinese characters). Any ideas as
2007 Apr 13
2
R on Solaris 10 x64
Hi R Developers, Greg is helping me with debugging R on Solaris 10 x64. Please let us know if you have any thoughts or tips that can help us debug this. Thanks, David ************ Using default transfer plist in vector_io: permuting About to write *** caught segfault *** address e8554000, cause 'memory not mapped' Traceback: 1: .External("do_hdf5save", call,
2001 Mar 28
1
UTF-8 patch for Samba 2.0.7
See description in the attached patch. -------------- next part -------------- This quick hack adds primitive support of UTF-8 as a server 'character set' to Samba 2.0.7. All file, share and user names are stored on server in UTF-8, and translated into client code page (not UCS2) on the fly. Additionally, server string conversion is added. Tested with Chinese and Russian Windows clients.
2011 May 13
1
Russian language in R
Hello, I am experiencing a problem in reading a database in Russian. The problem appears when it comes to char variables. I have already tried changing the encoding, i.e. options(encoding="UTF-8") and options(encoding="KOI8-R") but every time there appear to be something unreadable in the data frame, like \x82\xa2\xae\xef etc. Could you please answer whether it is
2010 Feb 03
1
Unicode related query
Greetings, I am able to get a english word list in <file> 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
2010 May 16
1
Reading JPEG file, converting to HEX
Colleagues, I am using R to assemble RTF documents (which are plain text). I need to embed a JPEG graphic that was created with R. I presume that the steps need to be: a. read the file into R b. convert the object to HEX format c. write the converted object to a textfile. If I read the file into R using readLines, I get the following (only the first 5 lines shown): > >
2010 Feb 16
7
YAML, UTF-8, TextMate, Notepad
This is not a question but a report on the difficulties I had and the solution I found with respect to UTF-8, YAML::load, and Ruby/Rails. Comments are appreciated. - - - I had been struggling for two days to get UTF-8 working in my Rails app. I had/have a localization file, lib\locale\de.yml, that had iso-8859-1 encoding. I could not get that to display properly. Marnen, quite correctly,
2005 May 31
1
Illegal multibyte character ...
Dear Sirs, I'm running samba in utf-8/utf-8 mode (unix charset/display charset), clients are: Windows XP/RUS, files and directories are created by clients directly, so samba says: [2005/05/30 20:12:01, 3] smbd/open.c:open_file(178) Error opening file profile/?????????\x87???? ?\x81?\x82????12 (Is a directory) (local_flags=1) (flags=1) [2005/05/30 20:12:01, 3]
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