similar to: [PATCH] Improve utf8clen and remove utf8_table4

Displaying 20 results from an estimated 300 matches similar to: "[PATCH] Improve utf8clen and remove utf8_table4"

2015 Mar 02
2
Errors on Windows with grep(fixed=TRUE) on UTF-8 strings
On Windows, grep(fixed=TRUE) throws errors with some UTF-8 strings. Here's an example (must be run on Windows to reproduce the error): Sys.setlocale("LC_CTYPE", "chinese") y <- rawToChar(as.raw(c(0xe6, 0xb8, 0x97))) Encoding(y) <- "UTF-8" y # [1] "?" grep("\n", y, fixed = TRUE) # Error in grep("\n", y, fixed = TRUE) : invalid
2018 Mar 29
2
Possible `substr` bug in UTF-8 Corner Case
I think there is a memory bug in `substr` that is triggered by a UTF-8 corner case: an incomplete UTF-8 byte sequence at the end of a string.? With a valgrind level 2 instrumented build of R-devel I get: > string <- "abc\xEE"??? # \xEE indicates the start of a 3 byte UTF-8 sequence > Encoding(string) <- "UTF-8" > substr(string, 1, 10) ==15375== Invalid read of
2015 Mar 04
0
Errors on Windows with grep(fixed=TRUE) on UTF-8 strings
After a bit more investigation, I think I've found the cause of the bug, and I have a patch. This bug happens with grep(), when: * Running on Windows. * The search uses fixed=TRUE. * The search pattern is a single byte. * The current locale has a multibyte encoding. ======================= Here's an example that demonstrates the bug: # First, create a 3-byte UTF-8 character y <-
2011 Aug 04
1
slightly speeding up readChar()
Hi, I was trying to have R read files faster with readChar(). That was before I noticed that readChar() is not that bad! In any case, below I suggest a few simple changes that will make readChar slightly faster. I followed readChar(useBytes=T), and tried to identify all O(N) operations, where N is the size of the file. The assumption is that for LARGE files we want to avoid any O(N) operations,
2008 Aug 02
4
related, but off-topic: how to allow users to change password?
My dovecot is currently configured to authenticate vs. a userdb/passdb passwd-file that contains, for each user: username:passhash:5000:5000::/path/to/home::userdb_mail=/path/to/maildir Is it possible to let users authenticate and change their passwords? There are some webmail client add-ons that allow such things if users are system accounts or in a
2005 Jul 04
3
Colocation/Telehousing
Hi, Is there anybody on the list that recommends anyone for colocation/telehousing in the US? I'm after 2 Servers to be hosted in the US, preferably on the west coast. Regards, Sahil Gupta VoiceValley
2009 Nov 20
5
v1.2.8 released
http://dovecot.org/releases/1.2/dovecot-1.2.8.tar.gz http://dovecot.org/releases/1.2/dovecot-1.2.8.tar.gz.sig This is mainly to fix the 0777 base_dir creation issue, which could be considered a security hole, exploitable by local users. An attacker could for example replace Dovecot's auth socket and log in as other users. Gaining root privileges isn't possible though. This affects only
2009 Nov 20
5
v1.2.8 released
http://dovecot.org/releases/1.2/dovecot-1.2.8.tar.gz http://dovecot.org/releases/1.2/dovecot-1.2.8.tar.gz.sig This is mainly to fix the 0777 base_dir creation issue, which could be considered a security hole, exploitable by local users. An attacker could for example replace Dovecot's auth socket and log in as other users. Gaining root privileges isn't possible though. This affects only
2009 Oct 09
2
Help with printing fixed width
Hello R users, I am writing a summary() for a custom class, and am to display the integers right justified, Say where x is the vector with integers, I am using the following: cat("\t",format(x),"\t"...other columns) this way I am trying to pass the format(x), to the cat function to display it, but still I am getting a kink(b/w the 9th and 10th row). 6 81 170
2017 Jul 06
2
[Bug Fix] Default values not applied to ... arguments
Hi Duncan, Martin Here's a small patch that fixes bug 15199 reported at: https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15199 I was able to reproduce the bug as Duncan had outlined just fine, but I did notice that when we debug(f), the problem went away. I later realized that f(1,,3) behaved correctly the first time it was executed, but misbehaved as documented on subsequent calls.
2011 Apr 06
1
Xen page sharing
Hi sahil: I think the reason why you cannot get page shared is due to the gref you got. Gref is responsible for a page allocated from domU, in my understanding it should not be 0, that is a gref 0 can not be shared, that''s why I skip gref 0 to be nominated. The gref is nominated to Xen and later used to find a corrspond MFN, so it shall not always be the same.
2009 Feb 09
2
how to get form parameters while using fields_for with nested attributes
hi all.. i am trying to use *fields_for* to get and save nested attributes in a form. i have a ''Partner'' model associated with an ''Address'' model. partner has_many :addresses although the form is displaying fine, but on submitting it the following error is shown: *can''t convert HashWithIndifferentAccess into Array* on this line: *@partner =
2005 Jul 20
1
(PR#8017) build of REventLoop package crashes with 2.1 due
In what way is this a bug in R? It looks like a bug in the package, and as Defn.h is not part of R's API any packge using it is `at risk' (and cannot be installed in a binary-only installation, or even an installed version of R). In particular, Defn,.h depends on config.h, and it seems you installed a binary version of R and used separate sources. I would suggest building R from
2008 Nov 02
5
Issue with domains
I am running Dovecot 1.0.10 and have it working great on ender.ath.cx (my free DynDNS.com subdomain), but recently I registered lemcoe.com and pointed it to the same IP address as ender.ath.cx. The problem is, only e-mail sent to the @ender.ath.cx works. If it is send it to @lemcoe.com, I don't know where it goes. I get no errors either. How can I get Dovecot to recognize both domains? TIA.
2008 Jul 27
1
mail extra field to override default mail_location for only certain users
I am running version 1.1.1 with mail_location: maildir:~/Maildir. This is working great as all our users have UNIX accounts with nologin shells. New domains (and their users) are about to come online and we would like to migrate to a setup with virtual mailboxes/users. From the wiki and comments within dovecot.conf, I see it is possible to do this piecemeal so both local and virtual users
2007 Nov 29
1
Hylafax
Hi, We seem to be having some teething issues with a new Hylafax - happy to pay someone to complete the installation. Please contact offlist. Regards, Sahil Gupta Chief Executive Officer VoiceValley Group of Companies Phone: +61-7-30188403 Fax: +61-7-30188499
2005 Jun 07
1
Message Playback
Hi, I'd like to know how I can playback a pre-recorded message to a user using our system without answering the call. I want to do the above in the scenario where the user dials a number and the number has been dialled incorrectly. Regards, Sahil Gupta VoiceValley
2005 Jun 27
1
TE100P
Hi, I have a Gateway running in "TE" (terminal equipment mode as "slave" that I need to connect to my asterisk server using a TE100P card. Can anybody give a quick run up of how to run the TE100P's in Network Termination mode to have this working sucessfully? Cheers! Regards, Sahil Gupta VoiceValley
2006 Jun 06
1
PABX Setup
Hi, We are trying to port over a PABX to our network. Both PRI's seem to be live however, whenever someone dials out from the PABX Asterisk happens to report : -- Extension '' in context 'samsungincoming' from '736327438' does not exist. Rejecting call on channel 0/31, span 2 If crc4 is turned off, it reports a yellow alarm. Any suggestions? Regards, Sahil
2008 Nov 14
1
Dedicated Servers
Hi,I am looking for a reliable provider that can provide 3 dedicated linux servers asap. Unfortunately, the provider I have used for YEARS has become way too slack in recent times and we have to move on. Cheers, Sahil -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081114/e06232f4/attachment.htm