I've made an application that takes tagged versions of a project from an hg repository and creates a downloadable ZIP file of that the tagged revision.
The files are created on a MediaTemple server running Linux using CodeIgniter's ZIP Encoding Library. Everything works fine... on a Mac. But, when I download the files on a Windows compu...
I have read a few links on the topic of file formats and encoding, but how is it done?
If all data is binary, what splits data into different file formats? What exactly does encoding the data involve? How is it done?
...
Hi,
I have my passwords encoded in MD5 in C# and inserted in my DB.
MD5 MD5Hasher = MD5.Create();
byte[] PasswordHash = MD5Hasher.ComputeHash(Encoding.Unicode.GetBytes(PasswordText.Value));
PasswordHash is inserted as is and look like 0x09C09E5B52580E477514FA.......... for example.
In the blackberry app, I get the password, want to ...
Hi,
i have made an app,
you write some text, and text will be saved over ajax. Before sending the request, i escaped it with js. But somehow, the "+" Character will be converted to " " Space Character...
So i tryed to find and replace before sending in "%plus%" but i get thes error message:
Uncaught SyntaxError: Invalid regular exp...
I need to get an â character into a format that can be passed to a URL. I'm obtaining some names as a json list, and then passing them elsewhere.
result = json.load(urllib2.urlopen(LIST_URL), encoding='latin-1')
for item in result:
name = item["name"]
print name
print urllib2.quote(name.lower())
This produces a urllib erro...
Hi Folks,
another encoding question.
On my server, I want to have the possibility of having mp3-files with utf-encoded filenames, for exampe Начало.mp3 .
Now when I save (or rename via my FTP client) a file to Начало.mp3, after refreshing, this file will automatically be renamed to ??????.mp3.
I added a htaccess to both the parent an...
For instance class files use CESU-8 (sometimes also called MUTF-8), but internally Java first used UCS-2 and now it uses UTF-16. The specification about valid Java source files says that a minimal conforming Java compiler only has to accept ASCII characters.
What's the reason for these choices? Wouldn't it make more sense to use the sam...
How important is file encoding? The default for Notepad++ is ANSI, but would it be better to use UTF-8 or what problems could occur if not using one or the other?
...
I'm using FMLE 3.1 to stream live video encoded with H.264 format with FMS 3 and Flash player 10 + AS 3 to connect to the stream.
When I connect to the stream, just the audio is played. I'm able even to get the metadata information about the video, but I just receive the audio.
I already tried some stuff like
"Flash 10 won't play ...
I need to retrieve some HTML tags from a database to display in my page. But when the web server outputs the query result (a small html chunk), it encodes the HTML before outputing on the page.
Example : <a> becomes <a>
The server behavior cannot be changed. If I could change it, I would!
Is there a way I can encode my HTML chun...
I'm with trouble on groovy server pages (gsp) where utf-8 chars are showing not propertly, like "?". But this occur inside grails tags like "${}". Example:
<p>Não</p> --> output browser: Não - OK
<g:link title="Avaliação Relatório"....> output browser: Avaliaç?o Relat?rio
${value? "Sim" : "Não"} output browser: N?o
The gsp already...
Hi,
I am trying to send an email with Chinese characters in the subject line from my program to a gmail account, but the subject line appears as ????. This is how the subject line is encoded:
=?utf-8?B?Rlc6IOiri+W5q+aIkee1piDoiIfkvaDotbfkvobnmoTlkIzkuos=?=
Is there anything wrong in the encoding? Is there anything that I have to bear ...
Hi,
Is there any available tool in the wild that allows:
1) to figure out the encoding type of a file(e.g, UTF-8, Big5....etc)
2) to convert the encoding type. (EX. Big5 -> UTF-8)
Thanks in advance
...
Hi everyone,
my application geting Text from a input field an post it over ajax to a php file for saving it to db.
var title = encodeURIComponent($('#title').val());
if I escape() the title it is all OK but i have Problems with "+" character. So i use the encodeURIComponent().
Now i habe a Problem with german special characters like...
Hello There,
On this link, the meta description from http://www.dontforgetanniversary.com has encoding problems with accents.
I still have tho.
I wonder where it could come from.
...
In this code golf question, there is a python answer that encodes the lengths of all integers from 1 to 99 in english to a big number:
7886778663788677866389978897746775667552677566755267756675527886778663788677866355644553301220112001
To get the length of n, you just have to calculate 3 + (the_big_number / (10**n)) % 10. How does thi...
Hello.
When the XML file was convert to ASCII. It is different values for user at the three characters of utf and UTF.
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="UTF-8"?>
I tried to create a new xml file with vs2005. utf-8 form file generated by default.
which one is a more standard definition? thanks.
...
Hey guys,
I am retrieving a variable that contains a £ sign from another page.
I want to remove this and I have tried using str_replace
but I am left with the following:
�100.
$amount = str_replace('£', '', $amount);
Any ideas?
...
I need to encode some data (text) so that it can easily be passed by the user over phone.
The text contains random characters and is normally not longer than 100 chars. Example:
"37-b,kA.sZ:Bb9--10.y<§"
I'd like to encode this text into more human readable form so that it can easily be passed over phone.
Base36 produces a text that...
I have an array of bytes (any length), and I want to encode this array into string using my own base encoder. In .NET is standard Base64 encoder, but what if I want to encode the array in Base62, Base53 or Base13?
Is it even possible to create such universal base encoder?
I know I could do it the simple way, that is, for each byte rese...