Solved

Kind of encoding

Posted on 2013-11-22
3
436 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

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

Navigation is an important part of web design from a usability perspective. But it is often a pain when it comes to a developer’s perspective. By navigation, it often means menuing. This is less theory and more practical of how to get a specific gro…
Windows Script Host (WSH) has been part of Windows since Windows NT4. Windows Script Host provides architecture for building dynamic scripts that consist of a core object model, scripting hosts, and scripting engines. The key components of Window…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

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