Solved

Kind of encoding

Posted on 2013-11-22
3
416 Views
Last Modified: 2013-12-20
Hi Experts,
What kind of encoding is this: Â , â , À

And how convert it using Delphi XE4

eg:.

  Â to Â
  â to â
  À to À  
  à to à
  á á
  Ç to Ç
  ç to ç
  ...
  ...
  ...

Thanks for some help
Alexandre
0
Comment
Question by:alpires
3 Comments
 
LVL 82

Expert Comment

by:Dave Baldwin
Comment Utility
The '&#x' is a prefix that means hexidecimal code follows it.  Here is a list of the hex code for Microsoft ANSI character set.  http://www.alanwood.net/demos/ansi.html
0
 
LVL 1

Expert Comment

by:livestuff
Comment Utility
UTF-8 and literal char value

go to

http://www.utf8-chartable.de/unicode-utf8-table.pl?start=128&number=128&utf8=string-literal&unicodeinhtml=hex

search for example: xc2

see attached photo
snap6.png
0
 
LVL 25

Accepted Solution

by:
Sinisa Vuk earned 500 total points
Comment Utility
If you are on Xe4 then you can decode it with:
uses ....,Web.Httpapp;
  
s := UTF8Decode(HTMLDecode(sUrl));

Open in new window


...encode...
uses ....,Web.Httpapp;
  
sUrl := HTMLEncode(UTF8Encode(s));

Open in new window



here is version for older versions...
http://alexey-m.ru/articles/urlencode-utf-8-windows1251
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now