Is it possible to load Japanese input function on BB8200?

Hello. I have just finished loading Japanese font(rendering) support on my new pearl flip.(yey!!)
I am very very happy that now I can read e-mails from my family or friends, but what if I can write them back? Much happier......
Is it possible? Or it is too much work? Or it is impossible......
If you have any ideas, please post.
Thank you!!

Language support is a part of device OS functionality.
There are 2 main device OS types.
Mono-language device OS and multi-language device OS.
If some multilanguage OS does not have some language support there is a chance that the next release of this multilanguage device os will have this support.
You can check it with your wireless providerl, who provides customers with the next device OS release.
Check this link: Blackberry OS FAQ
There are instructions how to upgrade your Blackberry OS, and there are links to download necessary software.

Similar Messages

  • AWM dimension mapping - is it possible to load data from two input tables ?

    Hello All
    I have two tables ProductFamily (parent level) and Products (child level).
    I want to load a dimension from these two tables where the parent-child relationships are maintained (I am using AWM).
    I created a mapping with these two tables as input, but the data loaded does not maintain the relationships.
    So how do I do that? Is it possible to load dimensions where different levels get data from multiple tables?
    Is there any type of joiner available in AWM?
    thanks
    Few Notes:
    - I do not want to use OWB here as my data is clean
    - In AWM, When I loaded the data from a single view which contained data from both input tables, it worked fine. But this is my worst case option.

    You should use the Snowflake Dimension option in the Dimension mapping screen for the Product Dimension (as opposed to the default dimension mapping style - star schema).
    This will modify the mapping inputs to include a separate parent level key for each hierarchy/level i.e. for each hierarchy/level (unless topmost level of hierarchy), you need to specify the parent level key in addition to the current level key, code/name/description/other attributes etc.
    You can do the mapping in either .... use icons at the top of the mapping screen.
    the drag/drop mode by dragging the relational column onto dimension model - hierarchy/level/attribute
    -or-
    the table expression mapping mode which gives the same effect.. dragging a column onto an attribute sets the expression in <schema>.<table>.<column> format.
    HTH
    Shankar
    Note1: Complete the mapping in one go.. Switching b/w the mapping modes cause the mappings to be reset.
    Note2: Assume your data is correct, foreign key to parent level table: ProductFamily exists in child level table: Products.

  • Hi. I have an older Mac running OS 10.4.11. I absent mindedly upgraded to FireFox 3.6.24 and now can no longer attach files to email in gmail or ymail. Is it possible to load an older version of FireFox and regain this function?

    FireFox 3.6.15 and newer require OS 10.5 or 10.6. The latest version of OS X the Macintosh G4 I own is physically capable of running is OS 10.4.11. Whenever I try to attach a file to an email in gmail.com or ymail.com, FireFox crashes. Is it possible to load a version of FireFox older than 3.6.15 to avoid having to buy a new computer?

    Hi again - since writing the above I have posted on Adobe>Webplayer>Flash forum the following request and will post on here if I receive a reply that works:
    Firefox updated to 3.6.14 and then advised Flash 10 be installed. I did this and now on YouTube videos all I see is a black screen with no play or pause button. System is OS X10.4.11 Have now followed Adobe instructions to Uninstall Flash player on system and then Install Flash 10. But still at YouTube Safari says Flash 10 is needed and in FF shows a black box only. I use Intego virus barrier but this has never blocked an update before. Flash is enabled in Firefox and Safari.
    eldnolb at Adobe forum advised: Go to this site and right click on the Flash logo, Settings, Display Settings. UNcheck the hardware acceleration.
    http://www.adobe.com/software/flash/about/
    But when I go to this page no logo appeared for me to right click on, which again means that Flash player is not working... so I could not access Settings, Display Settings, Uncheck etc. Was advised to start a new Mac entitled thread. Clare

  • How to install Japanese input method on my 8820

    Hi everyone.I just bought an 8820 and I wanna install the Japanese input modules on it.
    However, after installing the 4.5 East Asian version of the ROM, there's no Japanese input selection.
    is it possible that the 8820 could install the Japanese input modules?

    1. Download the OS file to the PC then install it to the PC by running (double clicking) the file you downloaded.
    2. Go to c:\program files\common files\research in motion\apploader and delete the file named "vendor.xml."
    3. Plug in BB and double click on "Loader.exe." It's located in the same place as the above vendor.xml file.
    Now, with loader.exe running, do you see the additional options for the launguages?
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Kotoeri Japanese input not working at all on Leopard

    I recently installed leopard, wiped HDD and did fresh install. after doing all my apps and transferring data etc, i found i couldnt setup up Japanese input (kotoeri). Japanese was not listed under the input menu tab of international settings in system preferences. So i found out somewhere else i should install the japanese language from the optional installs pacakge of the dvd. so i did that, and kotoeri now appears in the list of input menus, but it doesnt work. All the sub options (6 of them for hiragana, katakana etc) all appear in japanese script (which is weird, they appeared in roman alphabet in os 10.4, and the icons look strange too). Anyway, if i select one of them, im not able to type at all in japanese, it just continues to type in english. I tried many different apps, windows, finder windows etc. Nothing. Is there some way to install this functionality, i really dont want to have to install the os again..

    I've not heard of anyone else with your problem and don't know of any possible fix other maybe a reinstall. If you know Japanese well, you might try asking in the Japanese forums:
    http://discussions.info.apple.co.jp/

  • IP - Is it possible to call exit planning function from ABAP Report..

    Hi All,
    Greetings.
    Is it possible to call exit planning function from ABAP Report (t-code SE38) ? Or I mean is not limited only to be called from ABAP Report, perhaps from BSP / Web-Dynpro / Function Module.
    If somebody here has been doing it before, I'm keen to ask to kindly share it. Particularly how to call and transfer data to that exit function.
    Or if somebody has done in BPS, appreciate if it can be shared too .
    Thanks a lot and have a good day,
    Best regards,
    Daniel N.

    Hi.
    You can achive this as suggested by Mattias in your previous post.
    Lets say you have next data structure:
    CostCenter | Amount | PercentForDistibution |
    Create input ready query in this format. Restrict cost center by variable type range.
    Create WAD with analysis item.
    When you run web page you enter range of cost centers (lets say you will enter 101004 to 101010).
    I assume you have data only for 101004 in your cube (lets say 1000).
    You will see only one record in your webpage.
    CostCenter | Amount | PercentForDistibution |
    101004       | 1000     | NOTHING
    When you create WAD in analysis item properties set "NUMBER_OF_NEW_LINES" to lets say 1 (so in WAD you will see always one blank line for entering new data).
    Just add 6 new records:
    CostCenter | Amount   | PercentForDistibution |
    101005       | NOTHING| 10
    101006       | NOTHING| 30
    101007       | NOTHING| 20
    101008       | NOTHING| 25
    101009       | NOTHING| 5
    101010       | NOTHING| 10
    Then run planning FOX function like this:
    FOREACH Z_COST_CENTER.
    IF {Amount, Z_COST_CENTER} <> 0
    Z_AMNT_TO_DISTRIBUTE = {Amount, Z_COST_CENTER}.
    ENDIF.
    ENDFOR.
    FOREACH Z_COST_CENTER.
    IF {PercentForDistibution Z_COST_CENTER} <> 0.
    {Amount, Z_COST_CENTER} = Z_AMNT_TO_DISTRIBUTE * {PercentForDistibution Z_COST_CENTER}.
    ENDIF.
    ENDFOR.
    It is not perfect FOX, but as an idead, it should work.
    Regards.

  • Is it possible to load same vi in several subpanel ??

    Hi,
    Is-it possible to load same vi in several sub-panel on a vi ????
    Eddy DUCHENE
    12 F Chemin de Boutary
    69300 CALUIRE ET CUIRE
    [email protected]

    Well - as far as I know, that is not possible.
    If you try it with just two subpanels and the same vi to place in the subpanel, you once get error 1145 (LabVIEW: Cannot open VI because it is already in a subpanel control.).
    One way you could code a similar functionality was the usage of a tab-control. You could place your "views" on 5 tabs, make the tab-registers invisible and access the single tabs using a drop-down.
    Using LV8.0
    Don't be afraid to rate a good answer...

  • Is it possible to load a URL on stage?

    Hi,
    I'm using Flash CC-Action Script 3, is it possible to load a URL onto the stage?

    Thanks. I think our IT department will handle it since they do html/java/and
    all that stuff except for action script/flash. I am a little desperate
    though. I need to have this at least display a working clock for know and
    the phone list, which will display fine once I get to it. Can you be so kind
    and look at my horrible action script and help me get the clock to work
    continuously and show minutes under 10 with a "0"?  I just need to have
    something to show for our Annual Management meeting.
    Thank you sincerely for your time.
    Code:
    import flash.events.MouseEvent;
    import flash.text.TextField;
    import flash.text.Font;
    import flash.text.TextFormat;
    import flash.display.Sprite;
    import flash.text.*;
    import flash.filters.BitmapFilter;
    import flash.filters.BitmapFilterQuality;
    import flash.filters.BlurFilter;
    import flash.display.Bitmap;
    import flash.display.Loader;
    import flash.net.URLRequest;
    var link:URLRequest = new URLRequest("http://simplegreen.com/");
    //ADD CONTAINERS
    var containerStage:Sprite = new Sprite();
    containerStage.tabChildren = false;
    stage.addChild (containerStage);
    //DATE TIMER
    var my_date:Date = new Date();
    var my_timer:Timer = new Timer(1000);//create a new timer that ticks every
    second
    my_timer.addEventListener(TimerEvent.TIMER, onTimer);
    my_timer.start();
    //MONTH AND DATE
    var months:Array = ["Jan", "Feb", "Mar", "Apr", "May", "June", "Jul", "Aug",
    "Sept", "Oct", "Nov", "Dec"];
    var days:Array = ["Sun", "Mon", "Tues", "Wed", "Thurs", "Fri"];
    var todayIs = (days[my_date.day] + "," + " " + months[my_date.month]  +" " +
    my_date.date + " " + my_date.fullYear);
    trace(days[my_date.day] + "," + " " + months[my_date.month]  +" " +
    my_date.date + " " + my_date.fullYear);
    //Text Loader
    var textLoader:URLLoader = new URLLoader();
    textLoader.addEventListener(Event.COMPLETE, textLoaded);
    textLoader.load(new URLRequest("assets/phoneList.txt"));
    var ampm:String = new String();
    var zero:String = new String();
    if (my_date.hours<12) {ampm = "AM";
    else{
    ampm = "PM";
    while(my_date.hours > 12){my_date.hours = my_date.hours - 12;
    if(my_date.minutes < 10){zero = "0" + my_date.minutes;
    else{
    my_date.minutes;
    function onTimer(e:TimerEvent):void {
    //my_date = new Date();
    trace(my_date.hours + ":" + my_date.minutes);
    var myDateTextBox:TextField = new TextField;
    myDateTextBox = new TextField();
    // myDateTextBox = todayIs;
    var dateStyle:TextFormat = new TextFormat;
    dateStyle.color = 0xFFFFFF;
    dateStyle.size = 48;
    dateStyle.font = "myriadMm";
    dateStyle.align = "left";
    var myTimeTextBox:TextField = new TextField;
    myTimeTextBox = new TextField();
    myDateTextBox.text = String(days[my_date.day] + "," + " " +
    months[my_date.month]  +" " +  my_date.date + " " + my_date.fullYear);
    myDateTextBox.width = 600;
    myDateTextBox.x = 70;
    myDateTextBox.y = 70;
    myDateTextBox.setTextFormat(dateStyle);
    //Add it to the stage;
    containerStage.addChild(myDateTextBox);
    myTimeTextBox.text = String(my_date.hours + ":" + my_date.minutes + " " +
    ampm);
    myTimeTextBox.width = 600;
    myTimeTextBox.x = 70;
    myTimeTextBox.y = 117;
    myTimeTextBox.setTextFormat(dateStyle);
    //Add it to the stage;
    containerStage.addChild(myTimeTextBox);
    //Event Listeners
    phone.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndPlayFromFrame);
    function fl_ClickToGoToAndPlayFromFrame(event:MouseEvent):void
    trace("directory ready");
    simpleGreen.addEventListener(MouseEvent.CLICK,
    fl_ClickToGoToAndPlayFromFrame_2);
    function fl_ClickToGoToAndPlayFromFrame_2(event:MouseEvent):void
    navigateToURL(link, "_self");
    videoDirectory.addEventListener(MouseEvent.CLICK,
    fl_ClickToGoToAndPlayFromFrame_3);
    function fl_ClickToGoToAndPlayFromFrame_3(event:MouseEvent):void
    trace("Video Player is Ready");
    function textLoaded(evt:Event):void
    info_txt.htmlText = textLoader.data;
    With warmest regards,
    Mary Crotteau
    Graphic Design Specialist
    Sunshine Makers, Inc./Simple Green

  • Japanese Input on a Blackberry in Germany

    We got a 8707v working with Romaji input in the UK.  But the same package did not work in Germany or France on devices there.
    We are with Vodafone.  We deleted the vendor.xml  before install but still not able to get this working.   Chinese and Korean work fine.
    What is it in the Device.xml or CJK.alx files or elsewhere that might make this firmware UK specific or prevent the Romaji methiod from working? All the .cod files referenced in the Romaji method section of the CJK.alx have loaded on the device and I gave them all full permissions.  I choose Japanese input on the device but it does not work.
    net_rim_tid_AWnnJapanese.cod
    JapaneseOptions.cod
    net_rim_tid_dynamic_transcoding_data_Shift_JIS.cod
    net_rim_tid_dynamic_transcoding_data_EUC_JP.cod
    net_rim_font_japanese.cod
    net_rim_runtime_resource__ja.cod
    net_rim_bb_resource__ja.cod
    net_rim_bb_diagnostic_resource__ja.cod
    net_rim_wlan_bb_resource__ja.cod
    net_rim_wlan_runtime_resource__ja.cod 
    I have tried firmware from all over the latest was: Software For BlackBerry 8707v (TM) BlackBerry Handheld Software v4.2.2.342 (Chinese)

    Hi,
    We use at our firm 8707V and I downloaded the same firmware for Japanese Character Support.
    We also have offices across in European town such as Frankfurt and Paris.
    We did try number of devices to achive the Japanese Character Support, however none from European 8707 devices works.
    What we found is that 8707 model with only QWERTY model works with the firmware but not with any other K/B such one you can obtain in German and France.

  • Is it possible to load music onto an iPod in Disc Mode?

    Hi guys,
    Is it possible to load music onto an iPod in Disc Mode?
    I recently sold my 5th Gen 30Gb iPod on eBay, about a week later the buyer sent it back claiming it was faulty, he could not switch it on etc etc...
    Within a few minutes I had it running again, but was making a clicking sound. So I put it into disc mode, connected it to my G4 and found out that the seller had managed to change the name of the iPod, delete some of my music, load some of their music onto the iPod and play that music.
    My question is would they have been able to do all that in disc mode? Or would the iPod have to have been fully functional? Let alone using third party software to extract my songs that were already on the iPod.
    I think they received a perfectly working iPod, used it, damaged it, were unable to fix it (couldn't be bothered to find out how) and so sent it back claiming it was faulty all along.
    Thanks for any help and advice anyone can give.
    Alex

    Thanks, I realise that now.
    It turns out that the buyer reformatted the iPod for Windows.
    Would they have been able to do that in Disc Mode?
    Or would the iPod have to have been fully functional?
    I'm trying to prove that the iPod was indeed fully functional when they received it, because they were able to reformat it, rename it, delete some of my music and load some of their own music.

  • Use Batch-Input function module in WebDynpro?

    Hi,
    is it possible to use a batch-input function module in WebDynpro? This function module is RFC enabled, and would be executed only in background mode. The purpose is to create some business document in ERP, since we only have a dialogue transaction which is not encapsulated in BAPI, function module ...
    Thanks a lot!
    Sheng

    Hi Thomas,
    thank you very much! I'll try it.
    Best regards
    Sheng

  • Is it possible to load more dictionaries to ibooks? French, german ando so on? I have books in severl languages and it would be easire to use a built in dictionary like the one it already has.

    is it possible to load more dictionaries to ibooks? French, german and so on? I have books in severl languages and it would be easirer to use a built in dictionary like the one it already has.

    At the moment no - http://support.apple.com/kb/HT4059 says :
    iBooks allows you to look up the definition of words using a built-in English or Japanese language dictionary
    So it looks like just the two languages are currently supported

  • Is it possible to load web content?

    Hello,
    I'd like to know if its possible to load a file (an xml file) from a web resource with a given address like: http://server.com/file.xml.
    I tried to do this with
    myDocument.importXML(File(file));
    but this does not seem to work.
    Thanks in advance and kind regards,
    mannyk

    Here is an example -- works for me: imports an XML file from a web site into the active document.
    if (app.documents.length == 0) {
         alert("Please open a document and try again");
         exit();
    var doc = app.activeDocument;
    if (! doc.saved) {
         alert("Please save document somewhere first");
         exit();
    var url = "http://kasyan.ho.com.ua/downloads/temp/xmlfile.xml";
    var fileName = url.split("/");
    fileName = fileName[fileName.length - 1];
    var xmlFilePath = File(doc.filePath + "/" + fileName);
    var xmlData = GetURL(url, false);
    if (xmlData != null && xmlData.body != null) {
      xmlFilePath.open("w");
      xmlFilePath.write(xmlData.body);
      xmlFilePath.close();
    if (xmlFilePath.exists) doc.importXML(xmlFilePath);
    function GetURL(url,isBinary)
      // This function consists of up to three 'nested' state machines.
      // At the lowest level, there is a state machine that interprets UTF-8 and
      // converts it to Unicode - i.e. the bytes that are received are looked at
      // one by one, and the Unicode is calculated from the one to four bytes UTF-8
      // code characters that compose it.
      // The next level of state machine interprets line-based data - this is
      // needed to interpret the HTTP headers as they are received.
      // The third level state machine interprets the HTTP reply - based on the
      // info gleaned from the headers it will process the HTTP data in the HTTP
      // reply
      // If things go wrong, GetURL() will return a null
      var reply = null;
      // Below some symbolic constants to name the different states - these
      // make the code more readable.
      const kUTF8CharState_Complete = 0; 
      const kUTF8CharState_PendingMultiByte = 1;
      const kUTF8CharState_Binary = 2;
      const kLineState_InProgress = 0;
      const kLineState_SeenCR = 1;
      const kProtocolState_Status = 1;
      const kProtocolState_Headers = 2;
      const kProtocolState_Body = 3;
      const kProtocolState_Complete = 4;
      const kProtocolState_TimeOut = 5;
      do
        // Chop the URL into pieces
        var parsedURL = ParseURL(url);
        // We only know how to handle HTTP - bail out if it is something else
        if (parsedURL.protocol != "HTTP")
          break;
        // Open up a socket, and set the time out to 2 minutes. The timeout
        // could be parametrized - I leave that as an exercise.
        var socket = new Socket;   
        socket.timeout = 120;
        // Open the socket in binary mode. Sockets could also be opened in UTF-8 mode
        // That might seem a good idea to interpret UTF-8 data, but it does not work out
        // well: the HTTP protocol gives us a body length in bytes. If we let the socket
        // interpret UTF-8 then the body length we get from the header, and the number of
        // characters we receive won't match - which makes things quite awkward.
        // So we need to use BINARY mode, and we must convert the UTF-8 ourselves.
        if (! socket.open(parsedURL.address + ":" + parsedURL.port,"BINARY"))
          break;
        // Dynamically build an HTTP 1.1 request.
        if (isBinary)
          var request =
            "GET /" + parsedURL.path + " HTTP/1.1\n" +
            "Host: " + parsedURL.address + "\n" +
            "User-Agent: InDesign ExtendScript\n" +
            "Accept: */*\n" +
            "Connection: keep-alive\n\n";
        else
          var request =
            "GET /" + parsedURL.path + " HTTP/1.1\n" +
            "Host: " + parsedURL.address + "\n" +
            "User-Agent: InDesign ExtendScript\n" +
            "Accept: text/xml,text/*,*/*\n" +
            "Accept-Encoding:\n" +
            "Connection: keep-alive\n" +
            "Accept-Language: *\n" +
            "Accept-Charset: utf-8\n\n";
        // Send the request out
        socket.write(request);
        // readState keeps track of our three state machines
        var readState =
          buffer: "",
          bufPos: 0,
          // Lowest level state machine: UTF-8 conversion. If we're handling binary data
          // the state is set to kUTF8CharState_Binary which is a 'stuck' state - it
          // remains in that state all the time. If the data really is UTF-8 the state
          // flicks between kUTF8CharState_PendingMultiByte and kUTF8CharState_Complete
          curCharState: isBinary ? kUTF8CharState_Binary : kUTF8CharState_Complete,
          curCharCode: 0,
          pendingUTF8Bytes: 0,     
          // Second level state machine: allows us to handle lines and line endings
          // This state machine can process CR, LF, or CR+LF line endings properly
          // The state flicks between kLineState_InProgress and kLineState_SeenCR
          lineState: kLineState_InProgress,
          curLine: "",
          line: "",
          isLineReadyToProcess: false,
          // Third level state machine: handle HTTP reply. This state gradually
          // progresses through kProtocolState_Status, kProtocolState_Headers,
          // kProtocolState_Body, kProtocolState_Complete.
          // contentBytesPending is part of this state - it keeps track of how many
          // bytes of the body still need to be fetched.
          protocolState: kProtocolState_Status,
          contentBytesPending: null,
          dataAvailable: true,
          // The HTTP packet data, chopped up in convenient pieces.
          status: "",
          headers: {},
          body: ""
        // Main loop: we loop until we hit kProtocolState_Complete as well as an empty data buffer
        // (meaning all data has been processed) or until something timed out.
        while
          ! (readState.protocolState == kProtocolState_Complete && readState.buffer.length <= readState.bufPos)
          readState.protocolState != kProtocolState_TimeOut
          // If all data in the buffer has been processed, clear the old stuff
          // away - this makes things more efficient
          if (readState.bufPos > 0 && readState.buffer.length == readState.bufPos)
            readState.buffer = "";
            readState.bufPos = 0;
          // If there is no data in the buffer, try to get some from the socket
          if (readState.buffer == "")
            // If we're handling the body of the HTTP reply, we can try to optimize
            // things by reading big blobs of data. Also, we need to look out for
            // completion of the transaction.
            if (readState.protocolState == kProtocolState_Body)
              // readState.contentBytesPending==null means that the headers did not
              // contain a length value for the body - in which case we need to process
              // data until the socket is closed by the server
              if (readState.contentBytesPending == null)
                if (! readState.dataAvailable && ! socket.connected)
                  // The server is finished with us - we're done
                  socket = null;
                  readState.protocolState = kProtocolState_Complete;
                else
                  // Attempt to read a byte
                  readState.buffer += socket.read(1);
                  readState.dataAvailable = readState.buffer.length > 0;
              else
                // If the socket is suddenly disconnected, the server pulled the
                // rug from underneath us. Register this as a time out problem and
                // bail out.
                if (! readState.dataAvailable && ! socket.connected)
                  socket = null;
                  readState.protocolState = kProtocolState_TimeOut;
                else
                  // Try to get as much data as needed from the socket. We might
                  // receive less than we've asked for.
                  readState.buffer = socket.read(readState.contentBytesPending);
                  readState.dataAvailable = readState.buffer.length > 0;
                  readState.contentBytesPending -= readState.buffer.length;
                  // Check if we've received as much as we were promised in the headers
                  // If so, we're done with the socket.
                  if (readState.contentBytesPending == 0)
                    readState.protocolState = kProtocolState_Complete;
                    socket.close();
                    socket = null;
                  // If we're downloading binary data, we can immediately shove the
                  // whole buffer into the body data - there's no UTF-8 to worry about            
                  if (isBinary)
                    readState.body += readState.buffer;
                    readState.buffer = "";
                    readState.bufPos = 0;
            else if (readState.protocolState != kProtocolState_Complete)
              // We're reading headers or status right now - look out
              // for server disconnects
              if (! readState.dataAvailable && ! socket.connected)
                socket = null;
                readState.protocolState = kProtocolState_TimeOut;
              else
                readState.buffer += socket.read(1);
                readState.dataAvailable = readState.buffer.length > 0;
          // The previous stretch of code got us as much data as possible into
          // the buffer (but that might be nothing, zilch). If there is data,
          // we process a single byte here.
          if (readState.buffer.length > readState.bufPos)
            // Fetch a byte
            var cCode = readState.buffer.charCodeAt(readState.bufPos++);
            switch (readState.curCharState)
              case kUTF8CharState_Binary:
                // Don't use the UTF-8 state machine on binary data
                readState.curCharCode = cCode;
                readState.multiByteRemaining = 0;
                break;
              case kUTF8CharState_Complete:
                // Interpret the various UTF-8 encodings - 1, 2, 3, or 4
                // consecutive bytes encode a single Unicode character. It's all
                // bit-fiddling here: depending on the masks used, the bytes contain
                // 3, 4, 5, 6 bits of the whole character.
                // Check
                // http://en.wikipedia.org/wiki/UTF-8
                if (cCode <= 127)
                  readState.curCharCode = cCode;
                  readState.multiByteRemaining = 0;
                else if ((cCode & 0xE0) == 0xC0)
                  readState.curCharCode = cCode & 0x1F;
                  readState.curCharState = kUTF8CharState_PendingMultiByte;
                  readState.pendingUTF8Bytes = 1;
                else if ((cCode & 0xF0) == 0xE0)
                  readState.curCharCode = cCode & 0x0F;
                  readState.curCharState = kUTF8CharState_PendingMultiByte;
                  readState.pendingUTF8Bytes = 2;
                else if ((cCode & 0xF8) == 0xF0)
                  readState.curCharCode = cCode & 0x07;
                  readState.curCharState = kUTF8CharState_PendingMultiByte;
                  readState.pendingUTF8Bytes = 3;
                else
                  // bad UTF-8 char
                  readState.curCharCode = cCode;
                  readState.pendingUTF8Bytes = 0;
                break;
              case kUTF8CharState_PendingMultiByte:
                if ((cCode & 0xC0) == 0x80)
                  readState.curCharCode = (readState.curCharCode << 6) | (cCode & 0x3F);
                  readState.pendingUTF8Bytes--;
                  if (readState.pendingUTF8Bytes == 0)
                    readState.curCharState = kUTF8CharState_Complete;
                else
                  // bad UTF-8 char
                  readState.curCharCode = cCode;
                  readState.multiByteRemaining = 0;
                  readState.curCharState = kUTF8CharState_Complete;
                break;
            // If we've got a complete byte or Unicode char available, we process it
            if (readState.curCharState == kUTF8CharState_Complete || readState.curCharState == kUTF8CharState_Binary)
              cCode = readState.curCharCode;
              var c = String.fromCharCode(readState.curCharCode);
              if (readState.protocolState == kProtocolState_Body || readState.protocolState == kProtocolState_Complete)
                // Once past the headers, we simply append new bytes to the body of the HTTP reply
                readState.body += c;     
              else
                // While reading the headers, we look out for CR, LF or CRLF sequences           
                if (readState.lineState == kLineState_SeenCR)
                  // We saw a CR in the previous round - so whatever follows,
                  // the line is now ready to be processed.
                  readState.line = readState.curLine;
                  readState.isLineReadyToProcess = true;
                  readState.curLine = "";
                  readState.lineState = kLineState_InProgress;
                  // The CR might be followed by another one, or
                  // it might be followed by a LF (which we ignore)
                  // or any other character (which we process).
                  if (cCode == 13) // CR
                    readState.lineState = kLineState_SeenCR;
                  else if (cCode != 10) // no LF
                    readState.curLine += c;
                else if (readState.lineState == kLineState_InProgress)
                  // If we're in the midsts of reading characters and we encounter
                  // a CR, we switch to the 'SeenCR' state - a LF might or might not
                  // follow.
                  // If we hit a straight LF, we can process the line, and get ready
                  // for the next one
                  if (cCode == 13) // CR
                    readState.lineState = kLineState_SeenCR;
                  else if (cCode == 10) // LF
                    readState.line = readState.curLine;
                    readState.isLineReadyToProcess = true;
                    readState.curLine = "";
                  else
                    // Any other character is appended to the current line
                    readState.curLine += c;
                if (readState.isLineReadyToProcess)
                  // We've got a complete line to process
                  readState.isLineReadyToProcess = false;
                  if (readState.protocolState == kProtocolState_Status)
                    // The very first line is a status line. After that switch to
                    // 'Headers' state
                    readState.status = readState.line;
                    readState.protocolState = kProtocolState_Headers;
                  else if (readState.protocolState == kProtocolState_Headers)
                    // An empty line signifies the end of the headers - get ready
                    // for the body.
                    if (readState.line == "")
                      readState.protocolState = kProtocolState_Body;
                    else
                      // Tear the header line apart, and interpret it if it is
                      // useful (currently, the only header we process is 'Content-Length'
                      // so we know exactly how many bytes of body data will follow.
                      var headerLine = readState.line.split(":");
                      var headerTag = headerLine[0].replace(/^\s*(.*\S)\s*$/,"$1");
                      headerLine = headerLine.slice(1).join(":");
                      headerLine = headerLine.replace(/^\s*(.*\S)\s*$/,"$1");
                      readState.headers[headerTag] = headerLine;
                      if (headerTag == "Content-Length")
                        readState.contentBytesPending = parseInt(headerLine);
                        if (isNaN(readState.contentBytesPending) || readState.contentBytesPending <= 0)
                          readState.contentBytesPending = null;
                        else
                          readState.contentBytesPending -= (readState.buffer.length - readState.bufPos);
        // If we have not yet cleaned up the socket we do it here
        if (socket != null)
          socket.close();
          socket = null;
        reply =
          status: readState.status,
          headers: readState.headers,
          body: readState.body
      while (false);
      return reply;
    function ParseURL(url)
      url=url.replace(/([a-z]*):\/\/([-\._a-z0-9A-Z]*)(:[0-9]*)?\/?(.*)/,"$1/$2/$3/$4");
      url=url.split("/");
      if (url[2] == "undefined") url[2] = "80";
      var parsedURL =
        protocol: url[0].toUpperCase(),
        address: url[1],
        port: url[2],
        path: ""
      url = url.slice(3);
      parsedURL.path = url.join("/");
      if (parsedURL.port.charAt(0) == ':')
        parsedURL.port = parsedURL.port.slice(1);
      if (parsedURL.port != "")
        parsedURL.port = parseInt(parsedURL.port);
      if (parsedURL.port == "" || parsedURL.port < 0 || parsedURL.port > 65535)
        parsedURL.port = 80;
      parsedURL.path = parsedURL.path;
      return parsedURL;
    Kasyan

  • Is it possible to load multi applet whose version is different ?

    Is it possible to load on same browser multi applet whose version of
    JRE is different (1.3.1 and 1.4.2) at same time?
    These applets are loaded <OBJECT> tag.
    If Not, is there documentation written above things are specification.
    Thank you for advance.

    Thanks for your help.
    I've changed the classes totally...
    Now I don't have that problem anymore...
    The problem was that every time I've clicked the play button,
    it created a new instance of SoundPlayer class.
    Now I have only one instance of the SoundPlayer class, and
    then I'm just calling its methods like play, pause, stop, volume,
    pan, etc...
    But here is the new problem:
    Error #2037: Functions called in incorrect sequence, or
    earlier call was unsuccessful.
    I heard somewhere that Sound Object can have only one song in
    it, for every other it needs a new instance of Sound object...
    EDIT:
    I've found that in Flash docs:
    Once load() is called on a Sound object, you can't later load
    a different sound file into that Sound object. To load a different
    sound file, create a new Sound object.
    mloncaric

  • Is it possible to load an html page inside a JavaFX application?

    Hi
    Is it possible to load an html page inside a JavaFX application?
    Thank you!
    Alexandra.

    Actually it is very simple to load an HTML page inside a JavaFX application.
    var html:JTextPane = new JTextPane();
    html.setPage("http://www.berkshirehathaway.com/message.html");
    Stage
        scene: Scene
            content:
                ScrollView
                    node:SwingComponent.wrap(html)
    }A JavaFX application "tainted" by Swing is still a JavaFX application, isn't it?
    Loading an HTML page into a native JavaFX control would be a different story. It is hard.
    I don't think it is a top priority for JavaFX team to develop a control to render HTML. Using a Swing component, which supports HTML well, does not make a JavaFX application inferior. But, if JavaFX team could make a fully functional embedded browser control supporting HTML, JavaScript, etc., I would applaud that effort wholeheartedly.
    Right now, JTextPane inside a JavaFX application will crash the system, display gibberish, hang for ever or go haywire inexplicably, if JavaScript is used in the HTML page.

Maybe you are looking for