C/C++/Java source code to string

Posted on 2012-08-30
Last Modified: 2012-08-30
Hello experts.
I need help to convert this : \u0386\u03b3\u03b9\u03bf\u03c2  
to a string.
Searching in google i found that it is a C/C++/Java source code.

Is there any function in coldfusion to decoded this?
Question by:Panos
    LVL 51

    Accepted Solution

    I'm no expert on unicode ..  but I think it's just converting the hex code point to a decimal number, then using chr().  See this thread.

    <style type="text/css">
    	body { font: Arial Unicode MS; }
       charsAsHex = listToArray("\u0386\u03b3\u03b9\u03bf\u03c2", "\u");
       for (i = 1; i <= arrayLen(charsAsHex); i++) {
       	    decimalCodePoint = inputBaseN(charsAsHex[i], 16);
       	    actualCharacter = chr(decimalCodePoint);
       		WriteOutput(decimalCodePoint &" = "& actualCharacter &"<br>");

    Open in new window

    LVL 2

    Author Comment

    Hi agx.
    Your are not an expert on Unicode but you helped me many times with these kind of problems.
    Thank you
    LVL 2

    Author Closing Comment

    Thank you
    LVL 51

    Expert Comment

    Your questions tend to be about interesting stuff, so glad I could help :)

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    How to display Coldfusion alert message box icons 8 400
    Coldfusion HTTPS 2 51
    cfchart issue with html 6 70
    C# script to Coldfusion 25 44
    Hi, I will be creating today a basic tutorial on how we can create a Mail Custom Function and use it where ever we want. The main advantage about creating a custom function is that we can accommodate a range of arguments to pass to the Function and …
    Hi, Even though I have created this Tutorial on My personal Blog, Some people might not able to find my website, So here i am posting it again Today, from the topic it is very clear that i will be showing you here the very basic usage of how we …
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    733 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

    19 Experts available now in Live!

    Get 1:1 Help Now