?
Solved

HELP: What unicode could this be?

Posted on 2005-03-02
4
Medium Priority
?
257 Views
Last Modified: 2010-04-17
In very short, what standard/unicode system uses i.e. "+ACY" to display "&", "+ACM-" to display "#", "+AOk-" for "é" and for more see below...

Details:

I am asked to modify xml _like_ files, they contain info that is displayed on the web...
English version looks perfect; i.e. <FIELD_TELEPHONE value="Telephone"/> to display Telephone
But i.e. Spanish will look like <FIELD_TELEPHONE value="Tel+AOk-fono"/> to display Teléfono (not the accented é)
And the Japanese has <FIELD_TELEPHONE value="+lvuKcXVqU/c"/> to display &#38651;&#35441;&#30058;&#21495; (might not display Japanese letters)
(note to see Japanese/Chinese characters access: http://www.dslreports.com/forum/remark,12811882~mode=flat )
The Chinese version has <FIELD_TELEPHONE value="+dTWL3Q"/> to display &#30005;&#35805; (might not display Chinese letters)

I was able to figure out some characters:
\n=+AFw-n
@=+AEA-
"=+ACI-
;=+ADs
$ = "+ACQ-"
& = "+ACY"
# = "+ACM-"

And some Spanish characters I already had someplace on the website;
é=+AOk-
ó=+APM-
í=+AO0-
á=+AOE-
ñ=+APE-

Problem: When a request hits for me to insert something new in language x; I simply can not comply, because I do not know what code (i.e. "+AOk-") the character(i.e. "é") translates into; i.e. Ü, ü, Ö, ä, ô, î, ê, é, è and many more... But especially with Japanese or Chinese characters where

APPL_TYPES_TOP1_YEN = +/xP/EE4HUYYwSzCJU+Nep5WLii0wTFPvgP0
APPL_TYPES_TOP2_YEN = +ZwCa2P8R/xD/EFANMG4w7DDQMOwwwzC4
APPL_TYPES_TOP3_YEN = +U9ZfFTBv/xH/EE4HkBqMqFNYT00

 &#65301;&#65296;&#19975;&#20870;&#12363;&#12425;&#21475;&#24231;&#38283;&#35373;&#12364;&#21487;&#33021;
  &#26368;&#39640;&#65297;&#65296;&#65296;&#20493;&#12398;&#12524;&#12496;&#12524;&#12483;&#12472;
  &#21462;&#24341;&#12399;&#65297;&#65296;&#19975;&#36890;&#36008;&#21336;&#20301;

http://ingearx.info/posts/data_in_posts/japan.jpg

Obviously the application takes the xml _like_ file I'm editing and runs it through a "decryptor" like program to display them correctly;
I just hope that the decryptor is based on some official standard i.e. where I could find an encryptor. So far my search has proved unsuccessful;

Maybe you can figure this out; How to encode characters/symbols; If it's some sort of a standard?
Thank you...

In fact I'm sure it follows some standard because googling for http://www.google.com/search?q=ACM+ACY+ACI&hl=en&lr=&c2coff=1&start=20&sa=N gives quiet a few results, it's only a matter for finding the encryptor or at least reference tables ;)
0
Comment
Question by:InGearX
[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
4 Comments
 
LVL 2

Expert Comment

by:kalyan258
ID: 13465233
must be base64 encoded strings - try converting it back to ASCII by decoding from base64 string - it might help.
0
 
LVL 2

Accepted Solution

by:
kalyan258 earned 1920 total points
ID: 13465288
Sorry my above answer was vague.
The correct answer is - its UTF7 encoding

Check this
name1=value1&name2=value2  is translated to
name1+ADO-value1+ACY-name2+ADO-value2

which means "=" is replaced with "+ADO-" and "&" with "+ACY-"

Check the RFC 2152 for more details.

Use a UTF7 decoder to decode the content.

This page might exite u - a full html page UTF7 encoded - http://htliu.nease.net/plliu.htm
0
 

Author Comment

by:InGearX
ID: 13709283
Thank you all for your answers,
Sorry I took so long; Have been away on a trip with tight deadlines...
0
 
LVL 2

Expert Comment

by:kalyan258
ID: 13713898
thnx for the grade A - glad I helped u.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
What do responsible coders do? They don't take detrimental shortcuts. They do take reasonable security precautions, create important automation, implement sufficient logging, fix things they break, and care about users.
Introduction to Processes
Starting up a Project

800 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