473,544 Members | 2,002 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problems with unicode

Hi all

I have a problem with unicode. Because of my location, most of my apps
are in polish. In a few cases, data readed from database are displayed
incorrectly. In databse I have string with polish characters. This
string is displayed in page without polish chars. I can not find why it
is. I have been trying witch seting codepages, both in server-side both
in final html. No results. While debuging application, I saw that all
strings are correct, so problem looks to be in displaying.
I will be very grateful for any help. I'm starting crazy.

--
Greetings
Ziemowit Skowronski
ziemowits(malpa )wp(kropka)pl
GG:#2084659
ICQ:#179228949
Nov 19 '05 #1
1 984
Ziemowit wrote:
Hi all

I have a problem with unicode. Because of my location, most of my apps
are in polish. In a few cases, data readed from database are displayed
incorrectly. In databse I have string with polish characters. This
string is displayed in page without polish chars. I can not find why
it is. I have been trying witch seting codepages, both in server-side
both in final html. No results. While debuging application, I saw
that all strings are correct, so problem looks to be in displaying.
I will be very grateful for any help. I'm starting crazy.


So what encoding are you using for your HTML? What encoding is being used in
the database? What is <globalizatio n /> in web.config set to?

Cheers,

--
Joerg Jooss
www.joergjooss.de
ne**@joergjooss .de
Nov 19 '05 #2

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

Similar topics

19
11857
by: Gerson Kurz | last post by:
AAAAAAAARG I hate the way python handles unicode. Here is a nice problem for y'all to enjoy: say you have a variable thats unicode directory = u"c:\temp" Its unicode not because you want it to, but because its for example read from _winreg which returns unicode. You do an os.listdir(directory). Note that all filenames returned are now...
14
3514
by: Sebastian Meyer | last post by:
Hi newsgroup, i am trying to replace german special characters in strings like str = re.sub('ö', 'oe', str) When i work with this, i always get the message UniCode Error: ASCII decoding error : ordinal not in range(128) Yes i have googled, i searched the faq, manual and python library and searched all known soruces of information. I...
2
1280
by: kepes.krisztian | last post by:
Hi ! I use iso-8859-2 chrset (win1250), because I'm hungarian. I create an audio tagger program in the past, but I found a problem in it. I have the problem in the unicode string handling. The error line is that:
15
1998
by: Florian Lindner | last post by:
Hello, I've one problem using the csv module. The code: self.reader = csv.reader(f, delimiter = ",") works perfectly. But when I use a variable for delimiter: self.reader = csv.reader(f, delimiter = Adelimiter)
2
2063
by: bobnotbob | last post by:
I have created an application and am trying to call functions from a previously existing dll. I can call some functions fine, but I get a link error an when I try to call any function that takes either an LPCTSTR or wchar_tas a parameter. Here's two functions that cause me problems: void CADAPICALL JuncFunc9(LPCTSTR aaa); void CADAPICALL...
1
2076
by: peter pilsl | last post by:
postgres 7.4 on linux, glibc 2.2.4-6 I've a table containing unicode-data and the lower()-function does not work proper. While it lowers standard letters like A->a,B->b ... it fails on special letters like german umlauts (Ä , Ö ...) that are simply keeped untouched. Everything else (sorting etc.) is working fine and LC_COLLATE, LC_CTYPE...
3
2285
by: roland.saad | last post by:
Hi Everyone, I have been trying to build a website that has multilingual support using the LAMP setup. I have created tables that store language information and correlate different strings ids with languages. The strings are all VARCHAR with unicode (utf8) encoding. I have tried all the ways that I could think of and I have checked every...
3
7066
by: MIUSS | last post by:
Hello everyone! I got a problem with creating new line... I tried this: lstrcpy(NewLineIdr, TEXT("\r\n")); I already tried this: NewLineIdr = 0x000D; NewLineIdr = 0x000A; NewLineIdr = 0x0000; I need it to use it in my saving procedure because I need to create tabullary text file. But my effort usually results in one...
2
5757
by: Michael B. Trausch | last post by:
I am having a slight problem with UTF-8 output with Python. I have the following program: x = 0 while x < 0x4000: print u"This is Unicode code point %d (0x%x): %s" % (x, x, unichr(x)) x += 1
3
4346
by: Klaus Herzberg | last post by:
Hi, I come from the "dark side" php/mysql and there often problems with character sets (utf-8, latin...) and storing data in datebase. Exists in the world of dot.net and ms-sql-server similiar problems? To precise: I have to store xml-data in database. Maybe its better to encode (like base64) the strings? Perhaps there are some links...
0
7361
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...
0
7601
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7763
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...
1
7365
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...
0
5901
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...
1
5289
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...
0
4908
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...
0
3404
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...
0
3402
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.