Hi everybody,
Having some trouble sending properly formatted HTML e-mail from a PHP script. I am running PHP 5.3.0 and Apache 2.2.11 on Windows XP Professional.
The output looks like this:
Agent Summary for Support on Tuesday April 20 2010=20
Ext. Name Time Volume
137 Agent Name 01:27:25 1
138 =09 00:00:00 0
139...
I have a MySQL database table with a collation of 'utf8_general_ci' and the value in the field is:
x & #299; bán yá wén (without the spaces).
When this is converted (for example by StackOverflow's editor) it looks like this:
xī bán yá wén
where the second character looks like a lower case i with a bar over the top.
In PHP, what func...
We have a webservice created in WCF and presenting itself as a basicHttpBinding. One of the parameters is a string which takes an xml string. Looking at the soap the client generates to send to the webservice, the xml is encoded, with all < and > swapped into < and >. My question is, is this all that is encoded, or has the paramete...
Is there a way to detect the character encoding set in the terminal which is calling my Java program? In Windows I can call the "chcp" tool and parse the output.
But what about in Linux or Mac?
...
Hi,
right now i am implementing a Zig-Zag scan in C++. In addition to that i use the libJpeg8a. I want to intervene into the process when encoding images.
My questions is:
How can i connect to the scanning process out of C++???
Or:
And where exactly is the zig zag scan located within the libJpeg???
...
Hi,
I need to write a small tool that parses a textual input and generates some binary encoded data. I would prefer to stay away from C and the like, in favour of a higher level, (optionally) safer, more expressive and faster to develop language.
My language of choice for this kind of tasks usually is Python, but for this case dealing ...
I downloaded a webpage in my python script.
In most cases, this works fine.
However, this one had a response header: GZIP encoding, and when I tried to print the source code of this web page, it had all symbols in my putty.
How do decode this to regular text?
...
I need to convert string in UTF-8 to byte array in 1251 codepage in JavaScript. Google says nothing useful. Help :)
EDIT: What is it for.
We have server and client. Server has userpasswords hased with SHA512 and 1251 codepage. Client (web browser) has to hash passwords (provided by user in plain text) with SHA512 and transmit it to t...
I have a Java application sending HTTP requests to a C# application. The C# app uses HTTPListener to listen for requests and respond. On the Java side I'm encoding the URL using UTF-8.
When I send a \ character it gets encoded as %5C as expected but on the C# side it becomes a / character. The encoding for the request object is Windows...
I'm reading text files but I don't know in advance the kind of line ending used in this file. I need to know whether it uses UNIX \n or windows style \r\n line endings.
What is a reliable and fast way to detect this?
...
Hey,
I want to export some data from my jruby on rails webapp to excel, so I create a csv string and send it as a download to the client using
send_data(text, :filename => "file.csv", :type => "text/csv; charset=CP1252", :encoding => "CP1252")
The file seems to be in UTF-8 which Excel cannot read correctly. I googled the problem and f...
Hi ,
I am trying to load hebrew rss using the fllow :
Xml.parse(_InputStream, Xml.Encoding.ISO_8859_1 , root.getContentHandler());
taken from ibm site :
link text
I would like to use other Encoding like "ISO8859_8" rather than :
Xml.Encoding.ISO_8859_1,
Xml.Encoding.US_ASCII,
Xml.Encoding.UTF_16,
Xml.Encoding.UTF_8
Thanks a lot...
Hello I have a jsp with an html form.
I set the content type like this:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" %>
When I send special characters like á é í ó ú they are saved correctly in the database. My table charset is utf-8.
I want to change iso-8859 to utf-8 like this to s...
Hello I'm building a Spring MVC web application that runs on Tomcat 6.0.20 and JDK 1.6.0_19. When I send some special characters through an HTML form some of them are stored as question marks ?
For example these symbols are stored correctly: €, á, é, í, ‰, etc
But some symbols are replaced with ? like: ₤, ♪, ☺
MySQL tables charset is u...
Hello, I'm looking for help to convert an ASCII MD5 hashed password into a Unicode MD5 hashed password?
For example, I'll use the string "password" .
When it's converted to an ascii byte array, I get a base64 encoded hash of X03MO1qnZdYdgyfeuILPmQ==
When it's converted into a unicode byte array, I get a base64 encoded hash of sIHb6F4...
Hi!
I recently created a project, organized it and well... I used my Mac with Eclipse running. Somehow it stored everything in MacRoman. The project has to be UTF8.
Is there any easy way to handle the conversions?
...
I have a textfile which my Java program is modifying and putting into an HTML file for display.
However, this textfile contains lots of HTML unsafe characters such as "<" and the ">" which would need to be encoded into & gt; (sans space) and & lt;.
Is there some library method I can use to sanatize my text document to replace all thes...
I'm reading data from a serial port. I read this posting: http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/a709d698-5099-4e37-9e10-f66ff22cdd1e
He is writing about many of the issues I have encounter, but in his writing he refers to using: System.Text.Encoding.GetEncoding("Windows-1252"). The problem I'm having is when and...
I have a few arrays that I want to send to process with PHP. Using json2.js I will stringify the arrays like so:
var JSONlinks = JSON.stringify(link_array);
var JSONnotes = JSON.stringify(note_array);
but then I'm confused. Do I need to use a XMLHttpRequest object? Is there another way? If that is the simplest way, could someone p...
I want to encode an audio file (e.g. pcm wav) in music quality (wma, mp3, ogg, but not speex) using any in windows (xp, vista, windows 7) availble objects.
Is any com objects (like windows media) available without an additional installation?
Is there any examples how to use them to encode an audio?
...