Hello all.
I am having to import data from a database where the character encoding being used is ISO-8859-1 and the new site that we are using is using UTF-8. The site that the data is being pulled from is old, hence the reason that it is in ISO still I presume.
I have tried the following solutions with no results:
iconv
Neverthe...
Hi there,
last week I asked a question but JSF and charset encoding
relevant SO question
Now I included this JSF in my JBoss Portal env. with the common jboss portlet bridge. When I submit my form something weird happens:
The portal is UTF-8 so my form inputs are UTF-8 too but after the submit the chars are encoded as UTF-8 again whi...
Assuming my project is utf-8 throughout and has always been used with utf-8 encoding, is there anything legit that could possibly break if I change all occurances of htmlspecialchars($var) to htmlspecialchars($var, ENT_QUOTES, 'utf-8')?
I do know one thing: Obviously, ENT_QUOTES differs from ENT_COMPAT in that it also escapes single quo...
I am fetching directory name from a ftp server. This directory name is encoded. Now I want to display this directory name in a diffetnt language. Is it possible? If yes, please give me suggestion.
...
I'm trying to get a C++ service to load an XML document from a MSMQ message generated by C#. I can't really change the C++ side of things because I'm trying to inject test messages into the queue. The C++ service is using the following to load the XML.
CComPtr<IXMLDOMDocument2> spDOM;
CComPtr<IXMLDOMNode> spNode;
CComBSTR bstrVal;
...
I am using Gina Trapiani's excellent todo.sh to organize my todo-list.
However being a dane, it would be nice if the script accepted special danish characters like and .
I am an absolute UNIX-n00b, so it would be a great help if anybody could tell me how to fix this! :)
...
I know utf8,but what's the difference between *.utf8?
From the answer to my post
...
Hello,
I'm developing an ASP.NET MVC app and today, after one month, I uploaded a new version to my server (Discount Asp.NET). Since that, I'm having some problems to display one of the pages:
http://www.jobbox.com.br/cocoonhealth/profile/gguerini Invalid characters are shown instead of the page.
All the other pages are ok. I tried to ...
I am implementing an interface, which specifies writeBytes() and readBytes() on a file.
The data has to be transported as JSON.
For readBytes I do the following:
1. NSFileHandle readDataofLength - to read from a file
2. NSString initWithData: encoding: - to specify a given encoding
3. NSString getBytes:buffer
4. put each buffer[i] into...
I have a website with UTF-8 format on all pages.
The website is in Swedish so there are three special characters...
Using these characters in the code (values, ID:s, names etc) works fine on my computer and my browsers, but I wonder if it does work the same on all browsers?
In other words, do you think this will be a problem?
Thanks
...
Hello !
I have got a strange problem with Zend Framework - I fetch data from MySql table that is set to utf8_general_ci.
I inserted some data with polish fonts like ś ę ż... and push that data to view (Dwoo).
{foreach $units unit}
<tr>
<td>{$unit.id_unit}</td>
<td>{$unit.name}</td>
</tr>
...
I'm building a map of clients for my company and have a .xml file storing all the data which is subsequently loaded into a google map. I have a problem in so much as some of the characters aren't appearing as I expect them to. As far as I've seen so far, the following characters appear to cause issues:
-
ø
For example:
<marker lat="...
For some reason i get a £76756687 weird character when i type a £ into a text field on my form?
...
Here's my code:
curl -u "u:d" --data-urlencode "status=`echo $@|tr ' ' '+'|tr '&' '%26'`" "http://twitter.com/statuses/update.json"
But when it goes to twitter, the '&' turns into '%'. What am I doing wrong? Thanks!
...
So let's say we have a string that is like this:
‰û]M§Äq¸ºþe Ø·¦ŸßÛµÖ˜eÆÈym™ÎB+KºªXv©+Å+óS—¶ê'å‚4ŒBFJF󒉚Ү}Fó†ŽxöÒ&‹¢ T†^¤( OêIº ò|<)ð
How do I turn it into a human readable string of chars, cuz like it was a wierd output of HTML from a webserver that is text I think cuz half the web page loaded correctly. Do I need to read it with...
Is it possible to simplify this code into a cleaner/faster form?
StringBuilder builder = new StringBuilder();
var encoding = Encoding.GetEncoding(936);
// convert the text into a byte array
byte[] source = Encoding.Unicode.GetBytes(text);
// convert that byte array to the new codepage.
byte[] converted = Encoding.Convert(Encoding.Un...
Hello !
When I insert some data with Zend_Form to database with non a-z characters like chrząszcz it cuts me this string and in database I have saved only chrz.
Everyting in MySql is set as utf8_general_ci, when connecting with MySql I call SET CHARACTER SET 'utf8', files are also UTF-8.
I have no idea what to do with that.
I wrote a...
I want to create a web form which will allow the user to upload text/rtf files in UTF-8 having foreign language content using PHP and then execute a series of commands on it via the exec() function. After this processing I would be giving it back to the user as a download.
I made rudimentary form in html with a file input form and submi...
These people are selling a proprietary exclamation mark for sarcasm, and without going through the Unicode standardisation process, are proposing that it's possible to download this mark (in what format it's not completely clear), and use it in your written communications (to what extent it's not clear). My question is what exactly is be...
I'm setting up a Ubuntu server using Windows + Putty and want to log all my console activity. In putty I have the following configuration:
[View Full Size]
The problem is, this is the log file it generates:
[View Full Size]
Notice all the unreadable characters and symbols? I assume it has something to do with the encoding, but I tr...