Solved

Kind of encoding

Posted on 2013-11-22
3
430 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39669753
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
ID: 39670077
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 27

Accepted Solution

by:
Sinisa Vuk earned 500 total points
ID: 39671221
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
groupSum5 challenge 5 103
Delphi: ForceDirectory plain function 7 50
Firemonkey DbLookupComboBox equivalent ? 2 69
Firemonkey Queue list 1 33
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
This article will show, step by step, how to integrate R code into a R Sweave document
The viewer will learn how to implement Singleton Design Pattern in Java.
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…

696 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