charset

PHP send plain text mail and force fixed-width charset

I want to force the reader's email client to display my php-generated plain text emails with a fixed width charset. Thunderbird displays the email with a fixed width charset. However, Gmail and Outlook (and probably more clients) do not. Is this a config setting with my mail server or something I'm doing wrong? Any help would be great...

PHP: Parse text for RSS-feed?

Hello First, I'm not looking a way to parse an RSS-feed. I am creating an rss-feed myself, but now I've got a problem. I'm putting some text to description (obvisiously), but it gives me errors of some unallowed chars (for example "&"). Is there a way to remove all these chars or should I parse every char manually? Also, in my feed fi...

&#233; é << charset

i want to display é é << this in xml not working out great wat shall be my charset ? ...

Unicode character sets & encoding in browsers

I'm trying to find out how character sets/encoding are implemented in browsers, specifically Unicode. Are sets/encodings implemented separately in each browser or is it OS specific? Is it possible to find out what version of the Unicode Character Db (UCD) is being used? How are UCD updates pushed to each browser/OS? (Is it ever pushed ...

How to force browser to set charset in content-type http header

A simple HTML file: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> <body> <form method="POST" action="test.jsp" accept-charset="utf-8" method="post" enctype="application/x-www-form-urlencoded" > <input type="text" name="P"/> ...

What HTML text encoding exactly corresponds to MySQL charset "latin1"?

What HTML text encoding exactly corresponds to MySQL charset "latin1"? ISO-8859-1, ISO-8859-2, ISO-8859-15, or another one? ...

How can I find out what the current charset is in C++?

How can I find out what the current charset is in C++? In a console application (WinXP) I am getting negative values for some characters (like äöüé) with (int)mystring[a] and this surprises me. I was expecting the values to be between 127 and 256. So is there something like GetCharset() or SetCharset() in c++? ...

mysql match against russain

Hey, Trying to solve this for a very long time now... SELECT MATCH(name) AGAINST('абраксас') (russian) doesn't work, but SELECT MATCH(name) AGAINST('abraxas') (english) work perfectly. I know it's something with character-set, but I tried all kind of settings and it didn't work. For now it's latin-1. LIKE works This is the show v...

What is the difference between charsets and character encoding.

What is the difference between charsets and character encoding? When i say i am using utf-8 encoding then what will be my charset? Does it take unicode as charset by default? ...

python parallel computing: split keyspace to give each node a range to work on

My question is rather complicated for me to explain, as i'm not really good at maths, but i'll try to be as clear as possible. I'm trying to code a cluster in python, which will generate words given a charset (i.e. with lowercase: aaaa, aaab, aaac, ..., zzzz) and make various operations on them. I'm searching how to calculate, given th...

How to retrieve a IMAP body with the right charset?

Hi Guys, I'm trying to make an "IMAP fetch" command to retrieve the message body. I need to pass/use the correct charset, otherwise the response will come with special characters. How can I make the IMAP request/command to consider the charset I received in the BODYSTRUCTURE result?? ...

How define charset for HTMLhelp?

My C++ windows program uses htmlhelp. Structure HH_POPUP includes field pszFont in format: "Facename[, point size[, CHARSET[, color[, PLAIN BOLD ITALIC UNDERLINE]]]]", but I cannot find any info about way to define the charset. My russian popup help is totally unreadeable. HH_POPUP popupAttr; memset(&popupAttr, 0, sizeof(popupAttr)); po...

Debugging ASP.NET Strings Downloaded to Browser (Montréal instead of Montréal)

I'm downloading a vCard to the browser using Response.Write to output .NET strings with special accented characters. Mime type is text/x-vcard and French characters are appearing wrong in Outlook, for example Montréal;Québec .NET string shows as Montréal Québec in browser. Apparently vCard default format is ASCII. .NET strings are U...

VCL form and control font settings under Russian version of MS Windows

I have a Borland C++ Builder VCL app (so I am not working with Unicode yet), I want to provide a simple translation of controls' caption text to Russian at runtime. I can easily use EnumChildWindows to get the English caption, then lookup the translation and replace the caption text using SetWindowText. This does work well for my weste...

Java parsing UTF8

I have the following issue with a UTF8 files structured as following: FIELD1§FIELD2§FIELD3§FIELD4 Looking at hexadecimal values of the file it uses A7 to codify §. So according to this codify it should be UTF8, but it's strange because A7 > 7F so 1 byte shouldn't be enough to codify §. So I tried using directly a BufferedReader wi...

Mysql Character Mapping

Hi, I would like to map foreign characters, especially Turkish characters, to their Latin-1 equivalent in Mysql. For example, Select name FROM users WHERE id = 1 Result = Çakır but I would like to get it as: Cakir or Özel -> Ozel There are couple of Turkish characters and they all have Latin-1 equivalents. ( http://webdesign.ab...

InputStreamReader buffering issue

Hi all, I am reading data from a file that has, unfortunately, two types of character encoding. There is a header and a body. The header is always in ASCII and defines the character set that the body is encoded in. The header is not fixed length and must be run through a parser to determine its content/length. The file may also be q...

Detect string encoding in php4

How I can detect string encoding without mb_* and iconv functions in php4 ...

Help with proper character encoding.

I have a HTML form that is sometimes submitted with accented characters: à, è, ì, ò, ù I have a PHP script that exports these form submissions into CSV format, when I look at the CSV format in a text editor (vim or notepad for example) the characters look fine, but when opened with Open Office or Word, I get some funky results: ����� I...

JSF ISO-8859-2 charset

Hi! I have problem with setting proper charset on my jsf pages. I use MySql db with latin2 (ISO-8859-2 charset) and latin2_croatian_ci collation. But, I have problems with setting values on backing managed bean properties. Page directive on top of my page is: <%@ page language="java" pageEncoding="ISO-8859-2" contentType="text/html; ...