Displaying 20 results from an estimated 9000 matches similar to: "HTMLEntities.decode_entities - problems with output"
2006 Jan 18
4
Ruby "htmlentities" replacement: code review please!
Hi Railers,
For some time now I''ve been looking for a decent Rails equivalent of PHP''s
"htmlentities" command, because ERB''s html_escape (or more commonly called as
just "h", eg. <%=h @somevariable %> ) just doesn''t go far enough for me.
Back in PHP land, I actually had an extended version of the htmlentities
command to deal with
2013 Jun 08
1
reading a character translation table into R
I have a txt file (attached) that defines equivalents among characters
in latin1 (or iso-8859-1), numeric &#xxx; codes, HTML entities
and latex equivalents. A portion of the file is shown inline below, but
may not be rendered well in this email.
I'd like to read this into R to use as a character translation table,
but am stuck on two things:
- The 5 fields in the file are
2006 Jan 31
1
retrieving attributes of searchresults
i use the perl interface of Search::Xapian to index documents, now i got
metadata i store with the index like title, date, author, .. and i wonder how to
retrieve them from the index again without pulling them from the database.
i am pretty sure this is a stupid question and that the answer is obvious i dont
seem to be able to find it.
regards m
2006 Aug 03
0
gems package and rails folder
Hello,
I can''t install gems package because I don''t the privilege on my
provider ...
So, where can I put my gems package (in my case it is: htmlentities).
I try to copy the htmlentities folder to the lib folder of my rails app
without success ..
any idea
thanks
arnaud
2010 Jun 03
0
circumflex key
Hello,
iam running wine within ubuntu 9.10. Some games are using the circumflex key which cannot be accessed within wine. how can i resolve this?
2008 Jan 03
1
Iconv translit working in every situation… but the running app!
Hi all,
I scourged the web, including this ML''s archives, and did not find an
answer for this.
I have the following code in my Rails app:
require ''iconv''
...
@@converter = Iconv.new(''ASCII//TRANSLIT'', ''UTF-8'')
...
result = @@converter.iconv(text.to_s).downcase
...
Now, the facts:
* Inbound text is indeed valid
2014 Dec 16
2
Replace atoi and atol with strtol strtoul:Need Help
Hello ,
I came across this function *HtmlParser::decode_entities(string &s)* in
*xapian-application/omega/htmlparse.cc* which basically does is extract hex
value if any or extract number.For extracting number atoi is used and value
returned by it is stored in variable "val" , I think so replacing atoi with
strtoul would be useful here as number can have larger value although the
2006 Nov 13
1
php5 in centosplus update?
The recent htmlentities/htmlspecialchars bug was affecting all
versions of PHP older than 5.2.0. With that in mind, I was just
wondering if there is any timeframe to release a fix in centosplus
repository for PHP5 package? I've noticed that Red Hat released fixed
PHP5 packages for RHEL4 last week (php-5.1.4-1.el4s1.5).
--
NOTICE: If you are not intended recipient, you are hereby
2005 Jun 12
1
[Bug 2790] Add support for converting filenames into different encodings
https://bugzilla.samba.org/show_bug.cgi?id=2790
wayned@samba.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|major |enhancement
Status|NEW |ASSIGNED
Summary|mkstemp fails for paths |Add support for
2007 Jul 11
0
libswfdec/swfdec_bits.c
libswfdec/swfdec_bits.c | 40 ++++++++++++++--------------------------
1 files changed, 14 insertions(+), 26 deletions(-)
New commits:
diff-tree 0890f620c6b0a312176525a5f0977ed95b5314fe (from df8e44d9c530cc042e791cde0786cbea30afa373)
Author: Benjamin Otte <otte at gnome.org>
Date: Wed Jul 11 16:41:01 2007 +0200
don't access memory unaligned (fixes #11492)
Hopefully
2007 Jul 11
0
Branch 'as' - 3 commits - libswfdec/swfdec_bits.c
libswfdec/swfdec_bits.c | 40 ++++++++++++++--------------------------
1 files changed, 14 insertions(+), 26 deletions(-)
New commits:
diff-tree dfcd46a62e9f98d291d4fe80187a1bed1b7a7212 (from parents)
Merge: 4284f9fa4bd2608ca0abca3fad88dd13e8e5370c 0890f620c6b0a312176525a5f0977ed95b5314fe
Author: Benjamin Otte <otte at gnome.org>
Date: Wed Jul 11 16:41:51 2007 +0200
Merge branch
2006 Nov 09
2
SQLServer + (OSX/linux) + accents
Hello,
I wrote a RoR app on OSX and SQL Server. The DB uses SQL_Latin1, so I
use Iconv to convert to UNICODE every dynamic text I show on the pages
(Iconv.conv(''utf-8'', ''iso-8859-1'', string)). That''s been working fine
until I deployed the app on a debian box. Since then, the accents are
shown as question marks, and I don''t know why.
The
2005 Dec 18
1
lower case letters
with kde3 and Mandrake 2006
there is not grave, circumflex, acute on my wine
how change fonts in the window of program running with wine
thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-users/attachments/20051218/9d7660ee/attachment.htm
2003 Jun 04
1
[rfc idle thought] exclude pattern left anchor
A thought has been nagging me for a bit now so i'll run it
up the flagpole and see if anyone salutes.
There seems to be quite a bit of confusion regarding the use
of the leading slash as a top of tree anchor for exclude
patterns. The manpage seems clear enough to me but somehow
it doesn't seem to get through.
What if we allowed a leading circumflex (^) to serve the
same function. We
2010 Jul 29
1
Sweaving quotes
The significance code line to summary() applied to an lm() fitted model
object is
Signif. codes: 0 ?***? 0.001 ?**? 0.01 ?*? 0.05 ?.? 0.1 ? ? 1
The corresponding line in the LaTeX source produced by Sweave is
Signif. codes: 0 ?***? 0.001 ?**? 0.01 ?*? 0.05 ?.? 0.1 ? ? 1
which looks the same in my email (Thunderbird on a Vista machine), but
when I look at the file in WinEdt the quotes
2002 Apr 17
4
Problem w/ axis and distortion in a plotting function
I have a function for plotting soil texture that I am having a problem with.
The function is:
plot.psd <- function(sand, clay, ...) {
conv.ter <- function(x, y) {
x.con <- 100 - x - y*cos(1/3*pi)
y.con <- y*sin(1/3*pi)
data.frame(x=x.con, y=y.con)
}
plot(conv.ter(sand, clay), xlim = c(0,100), ylim = c(0,100*sin(1/3*pi)),
axes = FALSE, xlab="",
2003 Dec 01
0
No subject
windows systems
and I can see the SAMBA server
in my workgroup inside the network neighborhood.
When I double click on the server nothing happens for about 5 seconds and
then I get a
pop up error (text of error is):
--------
\\Sambaserver is not accessible
Windows cannot find the computer or share name.
Make sure the computer or share name is valid and that you are connected to
the network,
2004 May 13
1
question about dyn.load()
Hello, everybody,
I met a big problem. What I want is to use c code in R. I have load a test
code "conv.c" in R and run it successfully. However, in my real code, I use
matlab c library (Matrix Inverse function). After I use command "R CMD SHLIB"
to share library, I can not use "dyn.load" to load the object in
R. "undefined symbol:
2018 Mar 13
0
auto propagate interface status change
2006 Mar 15
0
Can't add PC to Samba domain in different subnet
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1528" name=GENERATOR></HEAD>
<BODY><!-- Converted from text/plain format -->
<P><FONT face=Arial