473,654 Members | 3,084 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

problem with charset

hi,
i've some problem to print to screen and save date in mysql if the
entries contain char like à,è...
i try to read some post but i'm not able to solve my problem.

i use easyphp 1.8 with
apache 1.3.33-php 4.3.10-mysql 4.1.9
SO:windows vista home premium

in php.ini i've: default_charset = "utf-8"
in phpmyadmin i can read:
language: italian (it-utf-8)
char set: utf-8 unicode (utf8)
collation: utf8_unicode_ci

int hte browser meta tag: <meta http-equiv="Content-Type"
content="text/html; charset=utf-8" />

the table structure is:
id int(11)
question varchar(255) utf8_general_ci
answer text utf8_general_ci
so if i make select * form table where 1, the output on screen is:
1. abad?? Modify (hope that you see 2 squares after abad it would
be abadà)
2. academia Modify
3. agog?? Modify (hope that you see 2 squares after agog it would be
agogò)

clicking on modify appear a form with a text box and a text area and
the strange is that in the form i see the right char.

in mysql the data of the table are
abadÃ
academia
Agogò

have you any idea?

thanks

marco

Jul 21 '07 #1
0 1272

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
5042
by: sinasalek | last post by:
i have a problem with MySQL 4.1.x and UTF8. in version 4.0, i'm using html forms with utf8 charset for inserting unicode strings. but in version 4.1.x it is not working! if i change the charset of column, ALTER TABLE `icons` CHANGE `name_farsi` `name_farsi` VARCHAR( 99 ) CHARACTER SET utf8 COLLATE utf8_persian_ci DEFAULT NULL and change default charset of database like below code :
3
3610
by: Roy Benjamin | last post by:
I'm developing a WEB service for Sun ONE deployment (AppServer7). I'm developing on Windows XP Pro though will deploy on Solaris, Sun AppServer7 includes a XercesImpl.jar in share/lib. 2 kb different than the one I usually use (xerces-2_1_0). If I compile all my code against the Sun xerces implementation, I get a class-def-not-found-error when trying to write any XML output. java.lang.NoClassDefFoundError:...
0
309
by: Franco Gustavo | last post by:
Hi, How can I execute 2 GDI steps without update the screen and update them togheter?. Basically I have a form and I want to change the Form Region and change the Form Location, later show the changes on the screen. On the Following code you can see that the code is executed but where the window was there is the rest of the window that wasn't cleaned, if you move
9
2333
by: rbronson1976 | last post by:
Hello all, I have a very strange situation -- I have a page that validates (using http://validator.w3.org/) as "XHTML 1.0 Strict" just fine. This page uses this DOCTYPE: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> When I change the DOCTYPE to (what should be the equivalent):
4
1737
by: Dirk Reske | last post by:
Hello, I have following sourcecode: private static extern int acmStreamOpen(ref int phas,int had,MPEGLAYER3WAVEFORMAT pwfxSrc,WAVEFORMATEX pwfxDest,WAVEFILTER pwFltr,int callBack,int dwInstance,int dwOpen); WAVEFORMATEX waveFormat = new WAVEFORMATEX();
3
1824
by: David Taylor | last post by:
In .net I am using a HttpWebRequest to read from a WebSite. I am getting everything back except for some characters above hex 7F which appear to have been stripped out of my response. I see these characters if I examine the site with IE. It has been suggested that this is an encoding problem, but I'm unsure as what I need to do about it. Can anybody help?
0
1959
by: Przemys³aw Bana¶ | last post by:
Hello! Can anyone help me with calling Novell function from dll? I think my main problem is in translating C variable types to C# types. Here is the code: using System; using System.Collections.Generic; using System.ComponentModel;
2
2604
by: praveen2gupta | last post by:
I am developing an Ajax application with multi charset. All data and charset is in the oracle database . I an accessing data using javascript and jsp. jsp page access data from the databse and insrt it in the div tag. when my data is in Big5 charset I an not able to see the data in my div tag. This problem is in some other languages like korian and japanies charset also. In fact i am not able to apply charset on my div set.
1
3306
by: EsteeTan | last post by:
Hi All, I am trying to call this Win32 Api in C# but I have problem in the call back function. The call back function EnumFontExDelegate never get call. The following is my code: Is there anything that I have missed out in my code? Thanks in advance. class PrinterEnumerator { public const int LF_FACESIZE = 32; private const byte DEFAULT_CHARSET = 1;
1
3557
by: gudiya | last post by:
hello everybody I am having a very wierd problem.i am developing a win ce applicationin which I am marshalling win ap function findfirstfile and findnextfile in c# .My problem is it reads the file name but it misses the first 2 characters of each file name.I have no idea why .Please help. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text;
0
8376
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8290
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8708
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8489
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7307
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6161
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5622
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4149
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4294
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.