Displaying 20 results from an estimated 400 matches similar to: "Encoding problems, applying a patch, how to???"
2012 Feb 07
10
Encoding error
Hello, I have in my db a register what have special characters, and when
I try to put on my form to edit this values, this happens:
incompatible character encodings: UTF-8 and ASCII-8BIT
Extracted source (around line #4):
1: <%= form_for :group, :url => { :action => "update" } do |f| %>
2: <%= utf8_enforcer_tag %>
3: <label>Nome do grupo</label>
2008 Dec 27
2
will_paginate working in the opposite way expected
Hi,
I am creating a little blogging engine, so I want the most recent posts
to display first, so I make a search with :order => ''created_at DESC''
For some reason, will_paginate works the opposite way I expect it to be.
I mean the previous / next links are opposite to what I want. What could
I be doing wrong?
--
Posted via http://www.ruby-forum.com/.
2013 Dec 20
2
Problemas con "encoding"
Buenas noches a todos,
Estoy descarganado tweets a través del paquete twitteR en dos sistemas
diferentes. La configuración del primero, un MacBook Pro, es
R version 3.0.2 Patched (2013-12-11 r64449)
Platform: x86_64-apple-darwin10.8.0 (64-bit)
locale:
[1] en_AU.UTF-8/en_AU.UTF-8/en_AU.UTF-8/C/en_AU.UTF-8/en_AU.UTF-8
attached base packages:
[1] compiler stats graphics grDevices utils
2012 May 28
1
rendering a partial inside another using render_to_string and (:formats) in controller
I want to clean my code by moving the duplicated lines :
partial = render_to_string( :partial => "#{file}", :formats =>
[:html] )
to the pagination_partials function.
=================================================
WORKING CODE:
=================================================
def render_format_search_partial(file, options={})
# TODO remove this line to use the one
2010 Jul 09
2
Template is missing.... but it is there!
Hello friends!
I have an application to list different kinds of institution names. So
I have one table "instits" for the institutions and another table
"nome_instits" for their names. For test, I put two rows inside
"instits" and three names for the first institution and two names for
the last. Then I created this controller:
class ServInstitController <
2013 Dec 21
1
Problemas con "encoding"
Hola
La codificación con uft-8 y etc., es un poco complicada, tendría que ser
sencillo, pero siempre aparecen problemas. Por las dudas le comento que
un inconveniente que tuve, es que al tener archivos en R, guardados como
Rnw (aprovecho a colocar comentarios y cosas en latex), y cambiar la
ubicación o la carpeta, la codificación de texto se rompía, es decir
donde decía alguna palabra con
2004 Feb 04
2
Latin 2 encoding + fonts
Hi,
In the FAQ I read about options to specify different fonts than the default
ones for the console (in the file Rprofile) and for the graphical output
(Rdevga). I would however like to replace Latin 1 with Latin 2 enconding for
both (console and graphical) output in Windows and just graphical output in
Linux.
I guess it is possible but I did not find the way.
How can I use the fonts
2010 Jun 14
4
Live Stream Encoding
Hi There,
i want to stream some pictures out of my application using the Theora
codec. I can stream to a socket or a file. The current work based on the
png2theora example. Something while enconding went wrong: I can see the
whole video in VLC, but the complete duration of the file will not be
displayed. If i play the video in Firefox, the first 2 seconds will not
be played. I think the
2018 Apr 08
2
Miércoles 11 - Abril - Reunión Grupo Usuarios de R de Madrid...
Buenas a todos,
Para los que puedan y quieran asistir.
El próximo miércoles 11-abril celebraremos la siguiente reunión del "Grupo
de R de Madrid", será la reunión* 51*.... cumplimos un año más.
Los detalles de la reunión los podéis encontrar aquí:
https://www.meetup.com/es-ES/Grupo-de-Usuarios-de-R-de-Madrid/events/249270146/
Gracias!
Carlos Ortega
www.qualityexcellence.es
2007 Mar 13
1
imap and character enconding
Hi, hi, hi little droogies
First of all, sorry for the lame english and the dumb question. After a
quick search on google I found iconv, and some other toys, but the point
is:
I''m making a small webmail app for my company, still taking the first
steps. For instance, if I want to read my INBOX folder and list the
messages:
-------------------------------------------
CONTROLLER =>
2002 Aug 09
0
Automation of public/private key generation
Hi all,
I wrote a small script (developed and testet on Solaris 8), which
automates the generation and installation of the steps needed to put
keys in place. I you are interested to take it, feel free to do it.
--
*** Freundliche Gruesse **** Best regards ***
Anton Burkhalter
Dipl. El. Ing. HTL
Mobile:+41(0)78 844-0290
mailto:anton.burkhalter at gmx.net
2016 Jun 15
1
weird error rights in folders
Hello rowland,
follow the informations:
1) ./configure --prefix=/opt/samba --enable-selftest --enable-debug
2) samba-tool domain provision --domain=CMC --adminpass=Mudar2016
--dns-backend=BIND9_DLZ --server-role=dc --use-rfc2307 --realm=CMC.CORP
3) I created a script to start this as described in the manual Samba4
[global]
netbios name = SAMBA
realm = CMC.CORP
2016 Jan 15
2
hachathon grupo local SevillaR - sábado 30 de Enero
Hola,
En el grupo local SevillaR hemos organizado un hackathon para el próximo
sábado 30 de Enero. Toda la información está aquí:
https://github.com/SevillaR/jacaton/blob/master/README.md. Por si
alguien se anima
Uno de los proyectos que vamos a desarrollar es un paquete para obtener
y analizar los datos de calidad del aire en Andalucía, por lo que la
presentación de Carlos sobre Madrid nos
2006 Mar 22
4
Serialized form... problems with accents
Hi,
I''m working on a french website and I use the Form.serialize method to
send the info through AJAX. The thing is that the accentuated letters
(é,ê,à, etc.) don''t get replaced by their HTML entities and they get
corrupted when retrieving the data. How could I fix that?
thanks a lot,
Blaise Bernie
2014 Jul 04
2
error al leer una linea desde un archivo de texto
Que raro, habia enviado este email, pero creo que nunca salio de mi
compu ... gracias a todos por sus sugerencias ... eric.
Estimados todos, gracias por las sugerencias, al final lo resolvi de un
modo "carretero" como decimos aca, por el camino largo. Como no eran
demasiados los archivos corte el contenido y lo pegue en un nuevo
archivo y funciono. Sin embargo, sigo sin saber la
2017 Oct 16
2
[Grupo de Usuarios de R de Madrid]: Próxima reunión jueves 19-octubre...
Buenas a todos,
Por si hay alguno que le interese asistir y todavía no lo supiera...
https://www.meetup.com/es-ES/preview/Grupo-de-Usuarios-de-R-de-Madrid/events/243927476
Gracias,
Carlos Ortega
www.qualityexcellence.es
[[alternative HTML version deleted]]
2016 Mar 31
2
Question about 'isUnsignedDIType' function on DwarfUnit.cpp
Hi All,
I have question about 'isUnsignedDIType' function on
'llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp'
When we want to generate object file with dwarf debug format, clang
can generates 'DW_ATE_lo_user' encoding for complex integer type as
follow:
"clang/lib/CodeGen/CGDebugInfo.cpp"
llvm::DIType *CGDebugInfo::CreateType(const ComplexType *Ty) {
...
if
2017 Dec 11
2
[Grupo de R de Madrid]: Reunión este próximo jueves 14 de diciembre...
Por si alguno todavía no está enterado y puede/quiere pasarse a la
reunión...
https://www.meetup.com/es-ES/preview/Grupo-de-Usuarios-de-R-de-Madrid/events/245493049/
Gracias,
Carlos Ortega
www.qualityexcellence.es
[[alternative HTML version deleted]]
2014 Jul 02
7
error al leer una linea desde un archivo de texto
Estimada comunidad, estoy extrayendo una linea de texto desde varios
archivos (unos 200) de esta manera:
dat <- read.csv(filenames[i], header=FALSE, sep=",", dec=".", skip=11,
nrows=1)
pero al tratar de leer esa linea desde el archivo numero 54 obtengo el
siguiente error:
Error in type.convert(data[[i]], as.is = as.is[i], dec = dec, na.strings
= character(0L)) :
2010 Jul 23
0
alias_method_chain with i18n
Hello,
I was investigating solutions for i18n with will_paginate and I found
a possible solution at http://lawrencesong.net/2009/01/enable-i18n-in-will_paginate-plugin/
The author adds to application_helper.rb the following code:
#############################################
include WillPaginate::ViewHelpers
def will_paginate_with_i18n(collection, options = {})