Displaying 20 results from an estimated 2000 matches similar to: "YAML, UTF-8, TextMate, Notepad"
2005 Oct 19
1
Rails + Eclipse + Utf-8
I''m developing an international website that uses AJAX. In order to make the
international characters appear correctly, I have set my default char set to
UTF-8.
 
The problem seems to be that Eclipse even though has the setting to use
UTF-8 for encoding, doesn''t save it in the correct format. If I open up the
.rhtml file under Notepad++ it encodes the file correctly and accents
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
2009 Feb 09
2
dynamic constant assignment
I have a constant set up like that :
ALL_LOCALES
=> {"it"=>"Italian", "fr"=>"Français", "de"=>"Deutsch", "en-
GB"=>"English (UK)", "es"=>"Español (España)", "pt-PT"=>"Português",
"pl"=>"Polski", "en-US"=>"English
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
2008 Oct 25
1
Filling symbols in xyplot
Hello,
I am using xyplot and am happy with my graph, *except* that I cannot get 
the symbols to be filled.  I tried using 
bg=c("red3","red","black","lightgrey")) in both the key and the xyplot 
function, that that was obviously not the answer.  I would like the 
sybols to be filled with the same colors as the lines.
Does anybody have an answer?  In case
2012 Dec 09
1
Fwd: samba_dnsupdate principal and TKEY unacceptable
Hi,
I am trying to run samba with bind_dlz (bind-9.9.1 - P1) on a multi-homed
network. I have configured the setup as per Samba4 Howto.
But when I try to do "samba_dnsupdate --all-names" it fails with error:
dns_tkey_negotiategss: TKEY is unacceptable
The kerberos ticket being used by samba_dnsupdate shows follwoing
principals:
 klist -c /tmp/tmp6cxfgY
Ticket cache: FILE:/tmp/tmp6cxfgY
2007 Oct 27
2
UTF-8 BOM
I'v encountered what seems to be a bug in PHP Markdown v1.0.1k. Given  
a UTF-8 with a BOM, the first line is not parsed.
A brief search revealed a bug report for a similar issue in python- 
markdown:
> I'm using the markdown.py command to generate HTML from Markdown  
> documentation and I've found that if a utf-8 file starts with a BOM  
> a paragraph is generated
2012 Jul 18
3
pecl install json on CentOS 5.8
Hi
Any clue about the below issue?
/usr/bin/pecl install json
WARNING: channel "pear.php.net" has updated its protocols, use
"channel-update pear.php.net" to update
downloading json-1.2.1.tgz ...
Starting to download json-1.2.1.tgz (17,780 bytes)
......done: 17,780 bytes
11 source files, building
running: phpize
Configuring for:
PHP Api Version:         20041225
Zend Module
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
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):
2008 Apr 09
3
help with model relationship for Product/Bill of Materials
I am struggling to find the best way to set up relationships to
achieve this so that it fits the rails idioms.
I have a table of products and I want to be able to create a bill of
materials for a product..
So a product can either be a single item, or a package consisting of
several other products.
I have created a table:
----
class BomItem < ActiveRecord::Base
   belongs_to :product
  
2012 May 14
6
problem with importing node definitions (2.7.14) [SEC=UNCLASSIFIED]
Hi all,
Doing some work with a puppet 2.7.14 installation to see what''s new and needs to be changed, however i''m seeing unexpected behavior with my manifests, so my external node directory isn''t being imported.  This is on a rhel 5 server with the puppet rpms from yum.puppetlabs.com, but the cilent machines is based on fc17 beta with 2.7.13 rpm (which is with that
2007 Dec 28
1
Tags in files with Unicode BOM
Is there any way for flac or metaflac to support input from files with
Unicode Byte Order Marks (BOM)?
In command:
metaflac --remove-all-tags --set-tag-from-file="CUESHEET=CDImage.cue"
--set-tag-from-file="LOGFILE=CDImage.log" CDImage.flac
If "CDImage.cue" contains Unicode characters, most text editors append BOM
at the 1st line of this file.
And metaflac does not
2024 Sep 07
1
Reading a txt file from internet
I tried it on R 4.4.1 on Linux Mint 21.3 just before I posted it, and I just tried it on R 3.4.2 on Ubuntu 16.04 and R 4.3.2 on Windows 11 just now and it works on all of them.
I don't have a big-endian machine to test on, but the Unicode spec says to honor the BOM and if there isn't one to assume that it is big-endian data. But in this case there is a BOM so your machine has a buggy
2014 Aug 08
2
[PATCH 1/2] Add type checking, support integers as value
Before this patch, Python would segfault once you pass a non-string key
or value to node_set_value. It was also not possible to set bytes on
Python 3 as Unicode was assumed (Python 2 was not affected by this).
This patch fixes recognition of bytes for Python 3, but in addition it
recognizes ints (includes 'long' in Python 2) for DWORD (LE + BE) and
QWORDs. For this purpose, a new field
2024 Sep 07
1
Reading a txt file from internet
On 2024-09-07 4:52 p.m., Jeff Newmiller via R-help wrote:
> When you specify LE in the encoding type, you are logically telling the decoder that you know the two-byte pairs are in little-endian order... which could override whatever the byte-order-mark was indicating. If the BOM indicated big-endian then the file decoding would break. If there is a BOM, don't override it unless you have to
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
2024 Sep 08
1
Reading a txt file from internet
On 2024-09-07 7:37 p.m., Jeff Newmiller wrote:
> I tried it on R 4.4.1 on Linux Mint 21.3 just before I posted it, and I just tried it on R 3.4.2 on Ubuntu 16.04 and R 4.3.2 on Windows 11 just now and it works on all of them.
> 
> I don't have a big-endian machine to test on, but the Unicode spec says to honor the BOM and if there isn't one to assume that it is big-endian data.
2015 Mar 04
4
Samba4+ClamAV
Senhores, bom dia!
Tem como instalar o Samba 4 com o antivirus ClamAV? Achei v?rios
artigos, mas n?o consegui fazer funcionar o ClamAV.
Desde, j? agrade?o a aten??o de todos.
Atenciosamente,
Marcio Fiorette