473,785 Members | 2,209 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASCII to PDU convertion and back

Hi,

For my SMS-application I need to be able to send characters with accents
(like é and à). But this doesn't seem to work in Text Mode, so i will need
to do it in PDU Mode.

Does anybody has soem converting routines for that in VB.NET? I need my text
to be converted to a PDU-message, and back (for received messages).

Thansk in advance,

Pieter

Nov 22 '05 #1
20 5106
DraguVaso <pi**********@h otmail.com> wrote:
For my SMS-application I need to be able to send characters with accents
(like é and à). But this doesn't seem to work in Text Mode, so i willneed
to do it in PDU Mode.
How did you try to do it in text mode? You'll need to know the encoding
to use, of course. Note that characters with accents in *aren't* part
of ASCII.
Does anybody has soem converting routines for that in VB.NET? I need my text
to be converted to a PDU-message, and back (for received messages).


http://www.dreamfabric.com/sms/ seems to have quite a bit of
information in it...

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 22 '05 #2
I tryed to set them just in ir, but that didn't work.
for exemple:
AT+GMGS="048611 2233"
This is my message with accents éà<Ctrl-Z>

Do you know the way to send the accents in text-mode? I assume it must
exist, but I can't find how :-(

"Jon Skeet [C# MVP]" <sk***@pobox.co m> wrote in message
news:MP******** *************** *@msnews.micros oft.com...
DraguVaso <pi**********@h otmail.com> wrote:
For my SMS-application I need to be able to send characters with accents
(like é and à). But this doesn't seem to work in Text Mode, so i will need
to do it in PDU Mode.
How did you try to do it in text mode? You'll need to know the encoding
to use, of course. Note that characters with accents in *aren't* part
of ASCII.
Does anybody has soem converting routines for that in VB.NET? I need my text to be converted to a PDU-message, and back (for received messages).


http://www.dreamfabric.com/sms/ seems to have quite a bit of
information in it...

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 22 '05 #3
Pieter,

I do not know this stuff however afaik is Frites written as you see here,
not Fàités.

I was curious so I have looked at some pages and I found unicode 8859-1

http://www.dreamfabric.com/sms/

What is the standard in our language zone as far as I know.

http://de.wikipedia.org/wiki/Windows-1252#Windows-1252

(And I am curious where do you use that à and what kind of keyboards do you
use Querty or Azerty?)

Cor

"DraguVaso" <pi**********@h otmail.com> schreef in bericht
news:uX******** *****@TK2MSFTNG P15.phx.gbl...
Hi,

For my SMS-application I need to be able to send characters with accents
(like é and à). But this doesn't seem to work in Text Mode, so i will need
to do it in PDU Mode.

Does anybody has soem converting routines for that in VB.NET? I need my
text
to be converted to a PDU-message, and back (for received messages).

Thansk in advance,

Pieter

Nov 22 '05 #4
DraguVaso <pi**********@h otmail.com> wrote:
I tryed to set them just in ir, but that didn't work.
for exemple:
AT+GMGS="048611 2233"
This is my message with accents éà<Ctrl-Z>

Do you know the way to send the accents in text-mode? I assume it must
exist, but I can't find how :-(


Well, what API are you using to submit the text to start with?

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 22 '05 #5
DraguVaso <pi**********@h otmail.com> wrote:
I tryed to set them just in ir, but that didn't work.
for exemple:
AT+GMGS="048611 2233"
This is my message with accents éà<Ctrl-Z>

Do you know the way to send the accents in text-mode? I assume it must
exist, but I can't find how :-(


Well, what API are you using to submit the text to start with?

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 22 '05 #6
I'm not using an API: I'm using VB.NET 2005 with the SerialPort-object, if
that is what you mean...

"Jon Skeet [C# MVP]" <sk***@pobox.co m> wrote in message
news:MP******** *************** *@msnews.micros oft.com...
DraguVaso <pi**********@h otmail.com> wrote:
I tryed to set them just in ir, but that didn't work.
for exemple:
AT+GMGS="048611 2233"
This is my message with accents éà<Ctrl-Z>

Do you know the way to send the accents in text-mode? I assume it must
exist, but I can't find how :-(


Well, what API are you using to submit the text to start with?

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 22 '05 #7
I'm not using an API: I'm using VB.NET 2005 with the SerialPort-object, if
that is what you mean...

"Jon Skeet [C# MVP]" <sk***@pobox.co m> wrote in message
news:MP******** *************** *@msnews.micros oft.com...
DraguVaso <pi**********@h otmail.com> wrote:
I tryed to set them just in ir, but that didn't work.
for exemple:
AT+GMGS="048611 2233"
This is my message with accents éà<Ctrl-Z>

Do you know the way to send the accents in text-mode? I assume it must
exist, but I can't find how :-(


Well, what API are you using to submit the text to start with?

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 22 '05 #8
DraguVaso <pi**********@h otmail.com> wrote:
I'm not using an API: I'm using VB.NET 2005 with the SerialPort-object, if
that is what you mean...


Well, that *is* using an API. Anyway...

Anyway, how are you then writing the data to the port? Are you writing
a byte array, or a string? Either way, what encoding are you using?

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 22 '05 #9
DraguVaso <pi**********@h otmail.com> wrote:
I'm not using an API: I'm using VB.NET 2005 with the SerialPort-object, if
that is what you mean...


Well, that *is* using an API. Anyway...

Anyway, how are you then writing the data to the port? Are you writing
a byte array, or a string? Either way, what encoding are you using?

--
Jon Skeet - <sk***@pobox.co m>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 22 '05 #10

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

Similar topics

17
542
by: DraguVaso | last post by:
Hi, For my SMS-application I need to be able to send characters with accents (like é and à). But this doesn't seem to work in Text Mode, so i will need to do it in PDU Mode. Does anybody has soem converting routines for that in VB.NET? I need my text to be converted to a PDU-message, and back (for received messages). Thansk in advance,
24
9072
by: ChaosKCW | last post by:
Hi I am reading from an oracle database using cx_Oracle. I am writing to a SQLite database using apsw. The oracle database is returning utf-8 characters for euopean item names, ie special charcaters from an ASCII perspective. I get the following error: > SQLiteCur.execute(sql, row)
0
10350
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10157
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
10097
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
8983
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
7505
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
6742
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();...
1
4055
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 we have to send another system
2
3658
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2887
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.