?
Solved

HELP: What unicode could this be?

Posted on 2005-03-02
4
Medium Priority
?
264 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
  • 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
If you are a mobile app developer and especially develop hybrid mobile apps then these 4 mistakes you must avoid for hybrid app development to be the more genuine app developer.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Starting up a Project

580 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