Displaying 20 results from an estimated 2000 matches similar to: "Non English characters"
2006 May 02
16
no one cares about i18n (was [OT]: Asking questions on this list)
Do most others in the community agree with this statement? It seems to me
that i18n is:
1. Actually important to many people
2. Not really the difficult to implement in concept
3. Something that people like to point out about Rails to say it''s not
ready foir "Enterprise"
It seems to be that a big part of Rails is encouraging people to do things
the "Right Way",
2006 Apr 19
5
Swedish characters problem
Hello,
I''m playing around with Rails and I''m having problems with displaying
swedish characters. This is how far I''ve gotten:
I have a controller...
class MiscController < ApplicationController
def swedish_chars
@chars_to_display = ''???''
end
end
...and a template (swedish_chars.rhtml)
<head>
<title>Test with swedish
2006 Jun 12
3
AMD64 + Debain + rails + Oracle ?
Hi folks,
Does anyone know how to install the OCI8 ruby interface on Debian64
without having to install Oracle?
My understanding, from experience with Debian i386, is that you need
Oracle (specifically the SQLPlus) installed to be able to compile
OCI8. Since my new dev machine is AMD64 running Debian, I''m stuck.
My rails applications need to connect to a remote Oracle 10g, but
cannot
2006 Apr 05
13
scaffold misuse?
Running ruby script/generate scaffold Product Admin
is a wonderful way to set up well, exactly what it says, a scaffold.
My problem is that I have several other tables that are linked,
through foreign keys, to the Product table. Say an "authors" table.
Now when I go enter a new product, a book, I want the application to
provide a drop down list of authors generated from the records in
2006 Apr 21
3
Documenting web services API''s
Sorry to have to post this again - it was probably under the wrong
subject and went unnoticed.
Is there a standard for providing user documentation for methods that
I expose through we services?
The default documentation (method names and return types) that
appears when the user visits http://localhost:3000/backend/invoke is
concise and correct, but a bit terse. How can I give my users a little
2006 Jun 25
7
Unicode HOWTO?
I am disappointed about the (seeming) lack of Unicode support in Rails.
Is there a howto about working the most important limitations? For
example, figuring out the length of an entered word: "???".length() will
return 6, not 3. So if there is a maximum number of characters a user is
allowed to enter, this won''t work as it should -- it treats strings as
byte arrays instead
2006 Nov 04
1
layere dispatching - please help!
Hi Folks,
I''m having trouble with setting up web services with layered
dispatching.
I''ve defined my controller (backend_controller.rb) as:
class BackendController < ApplicationController
web_service_dispatching_mode :layered
web_service_scaffold :invoke
web_service (:car) {CarService.new}
end
and my service (node_service.rb) as:
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
2008 Aug 26
1
apache
How can I pass the following Oracle 10g variables to my apache?
ORACLE_BASE=/u01/oracle
ORACLE_HOME=/u01/oracle/10g
ORACLE_SID=king
LD_LIBRARY_PATH=$ORACLE_HOME/lib
LD_LIBRARY_PATH_32=$ORACLE_HOME/lib32
PATH=$PATH:$ORACLE_HOME/bin
NLS_LANG=AMERICAN_AMERICA.AR8MSWIN1256; export NLS_LANG
NLS_DATE_FORMAT=dd-mm-yyyy ; export NLS_DATE_FORMAT
export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH
2006 Jun 08
3
Reading in a table with ISO-latin1 encoding in MacOS-X (Intel)
Dear colleages in R,
I have earlier been working with R in Linux, where reading in a table
containing Scandinavian letters ("?", "?", and "?") in the header as
part of variable names has not caused any problem whatsoever.
However, when trying to do the same in R running on new MacOS-X (with
an Intel processor) with the same original text table does not seem to
2006 Jan 12
7
Is anyone using oracle with RoR successfully?
Hi,
Is anyone using Oracle with RoR successfully?
Is everything running smoothly?
What are the main issues?
any response is appreciated
thanks,
Chris
--
Posted via http://www.ruby-forum.com/.
2006 Jun 27
3
Decoding Unicode URLs Properly
Please help,
I have an application I switched over to UTF-8, but I am unable to
decode URLs with unicode characters in them properly. For instance, if
I have "item=Pur%E9ed" as a parameter in my url, when it''s decoded by
rails, it returns "Pur?ed" and not "Pur?ed".
Is there an easy way to fix my controller to accept these characters
properly?
2006 Apr 04
2
Foreign keys not showing!
I''m new at this so please be patient.
I have a very simple schema consisting of a around 10 tables in
Postgresql. The aim is to provide a system for PC administrators to
keep track of PC''s dotted around various venues (shops, libraries
etc.). The sort of info I want to store is PC specs, PC network specs,
PC ownership specs, PC location specs and contact person details. So I
end
2006 Jun 23
2
WEBrick hangs with OCI8?
Has anyone experienced "hangs" with the WEBrick/OCI8 combination?
The sequence of actions I perform to consistently get WEBrick to hang is:
1. start WEBrick
2. list a table form my Oracle 10g DB
3. startup sqlplus and update a few records in the table
4. go back to my browser and reload the table
Here none of the chances I made directly to the table are reflected
in the listing.
2004 Mar 17
1
scandinavian letters or charset problem?
Hi!
This teamware mailclient (teamware.com) that we use at the office has
problems adding files as attachments from our Samba 3.0.2a share. The
attachment file browser sees the files but fails to add them as
attachments (with an error message: "valid.stf - file not found"
regardless of the file name in question). I tracked this thing down to
scandinavian letters (if your mail
2009 Aug 07
2
create separate plots by factors
Hello,
I am attempting to create several plots based on "site" (~300 total)
and am having trouble with the code. I simply want to create a plot
using the code, plot(year, peak), for the following dataset. I would
like for each site to be plotted on a separate page and the plots
saved in a directory. Would a "foreach" loop work? I tried a "by"
statement, but
2006 Jun 09
18
Is IRB the ruby console ?
I''m running script/console but keep getting the message that irb.bat is not
recognized as an internal or external command, operable program or batch
file.
If it means anything I am running instant rails. I can invoke irb straight
forward.
TIA
Stuart
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Apr 17
7
Should Perl talk to Rails via LWP
Hi folks,
I need your opinions on a basic design issue.
I''ve seen the light of RoR and have replaced my Perl (DBI/CGI) based web
server <-> RDBMS communication with RoR, but I still have a whole host
of users (other servers/OS''s etc) out there wanting to talk to my
RDBMS and they only talk Perl. Also they don''t want to talk Perl/DBI
directly (they are not allowed
2006 Apr 04
4
Maintaining and securing the "Perfect Rails/Debian/Lighttpd Stack"
Hi there
I''m planning to build "The Perfect Rails/Debian/Lighttpd Stack",
published by Ezra Zygmuntowicz and Sean Schertell at
http://brainspl.at/rails_stack.html
I''m wondering what sort of constant maintanance that setup would
incur. What actions have be regularly performed to keep this setup
healthy and secure under normal conditions?
Alder
2006 Jan 05
1
unicode hacks - fixes for webrick and Safari
Hello!
First, thank you Julian for the useful plugin ''unicode_hacks'' <
http://julik.textdriven.com/svn/tools/rails_plugins/unicode_hacks/>.
I have found some problems running my app in development on Webrick
and looking at it with Safari (MacOS X 10.4.3, Safari 2.0.2). Some
files are sent with different sizes (e.g. default css example, or
controls.js ), and it