473,466 Members | 1,412 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

problem with charsets

hello newsgroup!

I've got a from a user entered string that looks like that:

halČsdldfj

now I want to send a Textmail with this string as bodytext. Therefore I've
to convert the Č to the correct sign (C).
How can I convert this sign and add it to a mail with the correct charset.

At this Example it is a Czech sign. So I tried to set:

Session.CodePage = 28592
Session.LCID = 11274
Response.CharSet = "iso-8859-2"

iStart = 1
Do While iStart > 0
iStart = Instr(iStart, sReturn, "&#")
If iStart > 0 Then
iEnd = Instr(iStart, sReturn, ";")

If iEnd > 0 Then
sVal = Mid(sReturn, iStart + 2, iEnd - iStart - 2 )
sReturn = Replace(sReturn, "&#" & sVal & ";", ChrW(sVal))
iStart = Instr(1, sReturn, "&#")
Else
iStart = 0
End If
End If

Loop
but it doesn't work correct! There only is an normal C and not a C

can anybody help me please?!

thx
b.wurm
Jul 22 '05 #1
0 976

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

Similar topics

1
by: mrT | last post by:
Without any experience outside of regular European / Unicode charsets, I'm a bit stuck with a PHP app that needs to be able to handle foreign characters. I've got the content-type header...
0
by: Tux | last post by:
I use Mandrake 9.1 and Eclipse works just fine but there is a warning that I don't know what that mean and how to fix it: Missing charsets in String to FontSet conversion
0
by: Tumurbaatar S. | last post by:
Hi, I'm running MySQL 3.23.55 on WinXP and have some problem using non latin charset. I've added these 2 lines under group of my.ini: character-sets-dir = c:/mysql/share/charsets/...
0
by: Francesco Moi | last post by:
Hello. I want to find out the charsets supported by DataBase. I tried "SHOW CHARACTER SET" but I get this error: --------------- mysql> SHOW CHARACTER SET; ERROR 1064: You have an error in...
1
by: | last post by:
I have a problem with MySQL charsets. In many table fields I have greek characters. With phpMyAdmin & MySQL Command Center I see greek characters correct. The same from my PHP pages. When I...
0
by: dave | last post by:
I am trying to resolve the following mysql error: File 'c:\mysql\share\charsets\?.conf' not found (Errcode: 22) Character set '#33' is not a compiled character set and is not specified in the ...
7
by: petedawn | last post by:
hi guys, based on users button press i am passing the following to my javascript function, test('é'). and within my javascript i have this function test(x) which processes this input. ...
8
by: lisa1987i | last post by:
I am really having trouble with encoding characters. The application I am creating i based on a NNTP component from Smilla smilla.ru My propblem is when I read a string which contain special...
4
by: ofiras | last post by:
Hi everyone, I made a web page in PHP, and included in it PHP file, which prints Hebrew text. I used the web page to include other files, but only this particular PHP file makes my Hebrew look...
0
by: RobR2009 | last post by:
I am having trouble with a C# proxy page I am writing which allows me to do cross domain AJAX calls with Javascript. The problem is with certain pages that contain pound signs £ that are not HTML...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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,...
0
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.