i am currently having trouble with results from the amazon api.
the service returns a string with unicode characters: Learn Objective\xE2\x80\x93C on the Mac (Learn Series)
with ruby 1.9.1 the string could not even been processed:
REXML::ParseException: #<Encoding::CompatibilityError: incompatible encoding regexp match (UTF-8 regexp w...
We had redmine working with mysql (and mysql works fine with utf8). Now we needed to migrate the database to SQL Server (latin1 is the default for us). The data acentuation is ok in SQL Server after the migration, but in the browser, data coming from the database is showing ? in the acentuation place. What could be the solution to show c...
I wrote this python code in an attempt to convert objects to a string of ones and zeros, but the decoding fails because the data can't be unpickled. This is the code:
def encode(obj):
'convert an object to ones and zeros'
def tobin(str):
rstr = ''
for f in str:
if f == "0": rstr += "0000"
...
Hi,
I am developing a web site for the storage of electrocardiograms (ECGs) for research purposes.
The ECGs come in two different XML-formats. In format A the waveform data is stored as text and can easily be converted into a human readable ECG, but in format B the waveform data is encoded in a way I cannot decode, but I think it might...
Hello All
I would like to implement HTTP live streaming for iPhone/iPad. I am following the apple standards and tools for same.
As of now my video source is one giving me live video from rtsp://123.123.123.123:554/mpeg4 (sample IP). but as HTTP live streaming and mediastreamsegmenter required to pass source over UDP network so i have t...
I have several characters that aren't recognized properly.
Characters like:
º
á
ó
(etc..)
This means that the characters encoding is not utf-8 right?
So, can you tell me what character encoding could it be please.
...
Hello,
I have developed a Windows application that captures video from an external device using DirectShow. The image resolution is 640x480 and the videos saved without compression have very huge sizes (approx. 27MB per second).
My goal is to reduce this size as much as possible, so I am looking for an encoder which will allow me to co...
Seems like a very simple question here:
I've got a program where someone is entering a string M&S in a form and running a query. I understand the & is a reserved character and therefore must be encoded. The problem is it seems to be requiring encoding twice in some contexts.
If the URL is used in a javascript onClick event, normal ...
var c = [{"Id":40,"Action":null,"Card":"0484"}];
$('#hidJson', window.parent.document).val(c);
alert($('#hidJson', window.parent.document).val()); // returns [object Object]
alert($('#hidJson', window.parent.document).val()['Card'); // returns undefined
I'm in a legacy app. I have had to put in a fix where an IFrame needs to get a pack...
I'm still learning python and I have a doubt:
In python 2.6.x I usually declare encoding in the file header like this (as in PEP 0263)
# -*- coding: utf-8 -*-
After that, my strings are written as usual:
a = "A normal string without declared Unicode"
But everytime I see a python project code, the encoding is not declared at the he...
I have a php file which when displays data shows strange characters, but when I change encoding from tools in chrome to iso-8859-1 the strange characters are displayed correctly, the strange characters are actually Portuguese alphabets. please tell how can we set by default the encoding to iso-8859-1.
...
I'm looking for a C# wrapper for the web services of encoding.com. I found a PHP wrapper, but no C#.
Any help is appreciated.
Thanks!
...
I want to generate a code on n bits for k different inputs that I want to classify. The main requirement of this code is the error-correcting criteria: that the minimum pairwise distance between any two encodings of different inputs is maximized. I don't need it to be exact - approximate will do, and ease of use and speed of computationa...
sorry, this is a rooky question, but i never had to handle this problem, i think.
how can i get an htmlentity out of a thing like that: \u00e4, which stands for ä (ä) ??
additional information(, why i want to do that ^^):
i have backslashes in the string, for escapereason. when i stripslashes i get something like "u00e4". to find...
I have a query string with a parameter value that contains the norwegian character å encoded as %e5. The page contains a form with an action attribute which is automatically filled by ASP.Net. When the URL is output into said attribute it is printed with a full two byte encoding: %u00e5.
When posting back this seems to be ok when debug...
I have the following string "\u3048\u3075\u3057\u3093". I got the string
from a web page as part of returned data in JSONP.
What is that? It looks like UTF8, but then should it look like "U+3048U+3075U+3057U+3093"?
What's the meaning of the backslashes (\)?
How can I convert it to a human-readable form?
I'm looking to a solution with...
I'm using tinyMCE to edit content from an existing website. This website has links in the format:
http://localhost/start.jsp%3Fparam=value
where the %3F is the escaped string for the question mark character. When TinyMCE edits a page containing one of these links, it converts the "%" sign into "%25" which breaks the link.
How can I di...
Further to the title, when loading data from ActiveRecord the encoding is always set to ASCII-8Bit in spite of my best efforts to force the encoding. I have entered as much detail as possible here to try and build a good error report someone could use to help me out!
The project is using the following technologies:
Padrino Framework
R...
Hi,
Why am I getting this issue? and how do I resolve it?
UnicodeDecodeError: 'utf8' codec can't decode byte 0x92 in position 24: unexpected code byte
Thank you
...
Hi,
I tried the ruby hacks for utf8 (from : http://gist.github.com/273741) ... and I'm still getting the following error:
ActionView::TemplateError (incompatible character encodings: ASCII-8BIT and UTF-8)
What is bizarre for me is that the same content if retrieved with a post action (searching the app with an html from) it is display...