My Faces can not output unescaped arabic chars?

Hi All,
We recently switched from the Reference Impl of JSF to the MyFaces impl and are disappointed to learn that it the response writer escapes all arabic characters when outputting in UTF-8, with no option of writing out unescaped arabic. We are using a struts like validation component to generate client side validation and by escaping the arabic characters our validation output is failing to work since the move from the ref impl.
The problem is that the response writer impl for faces is calling "encode" on the string. Is there any way to get a response writer not to encode it? Can I plug in a custom respone writer to use just for our validation component?
Also, using the servlet output stream (using the external context) seems to render the validation stuff in the wrong place so it is no good using that method of writing out the validation.
Any ideas/ solutions/ simular experiences?
Regards
Colm

Ok, I have noticed that the write(int) method of the getResponseWriter implemetation does not call the "encode" method, but this is probaly going to be slow using this method to write a big javascript include!
Any other ways of doing this?

Similar Messages

  • Hello I have a problem I can not write in Arabic in Tor BlackBerry 9630 4.1.0.40 (platfrom v4.1.40)

    Hello I have a problem I can not write in Arabic in Tor BlackBerry 9630 4.1.0.40 (platfrom v4.1.40)

    i want those dukes, lol.
    import java.util.StringTokenizer;
    import java.util.ArrayList;
    public class StringTokens{
    public static void main(String[] args) {
         new StringTokens();
    public StringTokens(){
         String change = "10 20 30 40";
         ArrayList changenumbers = new ArrayList();
         StringTokenizer st = new StringTokenizer(change);
         while(st.hasMoreTokens()){
         changenumbers.add(st.nextToken());
         if(changenumbers.size() > 0){
         int[] numbers = new int[changenumbers.size()];
         for(int i = 0; i < changenumbers.size(); i++){
         try{
         numbers[i] = Integer.parseInt((String)changenumbers.get(i));
         } catch (NumberFormatException e){
         numbers[i] = 0;
         for(int i = 0; i < numbers.length; i++){
         System.out.println("Number: " + numbers);

  • JSP compilation error, IOException, can not output (Urgent)

              Hi,
              I met the error that Weblogic can compile the jsp to a temporary java file but can
              not compile the temporary java file to class file, it said java.io.IOException, anybody
              can tell why?
              Thanks a millon!
              

              Your system does not have enough swap space to run the JSP compiler.
              Add swap space.
              Mike
              "dai shui" <[email protected]> wrote:
              >
              >Hi,
              >I met the error that Weblogic can compile the jsp to a
              >temporary java file but can
              >not compile the temporary java file to class file, it
              >said java.io.IOException, anybody
              >can tell why?
              >
              >Thanks a millon!
              

  • Can Not Display Normal Chinese Chars in JSP

    Hi,
    I am displaying some chinese chars in a normal JSP file but it show me some
    funny things. If I get the data from the oracle and the information is chinese,
    then it display correctly. And I try another thing that I save the noraml JSP
    (without any java code) to a html and it is working fine. Same content, if saved
    as HTML, then ok. If saved as JSP, then got problem. I am using weblogic 6.1.
    There are somewhere need to be configure or... Any idea for this? Thank you
    very much!
    yang lin

    Hi Howard,
    if i use Font.createFont() to general font object that
    can solve chinese display problem in RH 7.3. but i
    thought, it's no reasonable way to use font object.
    that is really bad for cross-platform benefit or you
    need to carry font file with your application.
    have a way to set default font use createFont()
    object?In the past, I've carried the font file around with me. Given the number of graphics files, properties files and
    other assorted garbage that apps are already carrying around, it's not too unreasonable to have to add a
    TrueType font to the list of hangers-on (unless it's the size of Arial Unicode MS - 23Mb is a big ask sometimes)!
    Given that TrueType fonts themselves are essentially platform-independent, I don't see it as too much of an issue. But that's just me and my experiences! ;-)
    To set the font as default...
    try {
        FileInputStream fis = new FileInputStream("myFont.ttf");
        Font defaultFont = Font.createFont(Font.TRUETYPE_FONT, fis);
        setFont(defaultFont);
    } catch (FontFormatException ffe) {
        System.err.println("My TrueType font is corrupted.");
    } catch (IOException ioe) {
        System.err.println("My I/O stuffed up.");
    }There are various ways to set the font in even better ways, particularly if you're in a standalone app, but the above is at least a good basic one.
    Hope that helps,
    Martin Hughes

  • CS5 can not output MPE to external DV device

    This is quite a surprise for those of us who rely on DV output.
    Harm Millaard:
    "An MPE card stops external monitor viewing."
    "The problem is that CUDA does not currently support output
    on DV devices, only full screen  second displays (DVI, DisplayPort, etc)."
    "...one serious limitation, those who use dual monitors for editing and
    a third monitor for full screen display and color grading or that use the
    fire wire connection to record DV/HDV back to tape.
    Some may think tape is dead, but there are numerous people around
    that still like to jeep their final cut on a master tape."
    "The basic problem is how to get a DV signal back over firewire for
    exporting to tape or display on an external monitor and that currently is a CUDA problem."
    "It must be resolved. If not, the introduction of CS5 / MPE as a game changer
    can quickly turn into a game stopper.
    I think (purely personal opinion)  Adobe and nVidia must correct this ASAP
    Otherwise you end up with a SNAFU."

    J Graves wrote:
    The first post about this CS5 bug was in May.  It is now Augusut and still no fix? 
    Every time I'm about to place my order for CS5, I find out about another "gotcha' problem.  I'm still on CS3 and am seriously wondering whether I should continue to move forward with Premiere.
    I still use an older "DPS Velocity Quattrus" system and it still leaves Premiere in the dust.  Unfortunately Harris, who bought Leitch/who bought DPS, has discontinued the product.  A software developer from Itlay is attempting to breathe life into it (ivsEdits.com), but it isn't a fully operational system.
    Yes, "Firrewire" output is still a Big Deal.  There are many of us who use our editing systems as a business tool.  Going back and disabling the Mercury Engine, then re-rendering as "software only" is a waste of my time.
    Come On, Adobe & Nvidia, get this fixed!
    Well...i'd guess that CS5 hold it's own against a system like yours for flexibility...though if the way that card works is in your workflow "sweet spot" then I guess you're probably best served to stay with it.
    If you have a system that has the juice to even run CS5, i can't imagine that running a CUDA-augmented system for Mercury is even remotely necessary for editing DV...  as far as using our systems as a business tool...I'm not sure what you're implying.  Most of us who are in the production business -in general- have moved to some form of HD some time ago, most of my peers made the move during CS2...
    Are you implying the rest of us aren't professionals, even as you are lobbying for aggressive support of a consumer-oriented I/O configuration?  I hope not.
    It's not a bug BTW...it's a configuration that a few people don't like...but when your effects render is out on the display card, that's the way the pipe is routed.  Even HDSDI card manufacturers are finding that pulling those frames back off the display card negates some of the speed gains.
    If you have a system that is qualified for it, I think you should download the demo and try it before you assess PPro CS5 any further.  You are making lots of sweeping statements about a piece of software released almost 4 years ago running on a hardware system that was discontinued 4 years ago being better than the newest software running on up-to-date hardware without understanding what its performance is really like...even without a CUDA card.
    I can shut off CUDA and rip through DVCProHD like there's no tomorrow on my 3 year old dual dual core AMD...I have to believe you'll be able to -shred- DV on even an average-ish machine by today's standards.

  • Grub can't output to display

    ok, so I  dual boot debian and arch and today I dist-upgraded to wheezy only to find arch gone from the boot menu. I workaround this by chrooting into arch and install grub there, and now and typing from arch. however, on boot after the bios flashes I get this message: can not output to this display. now, hitting enter boot arch, but a. I am completly blind in the grub menu and b. I have no of telling if debian is in the boot menu other then trail and error, which I havn't tried yet because thats really a different issue. any ideas on what might be causing the problem? which arch boots everything is fine from there, this is just a grub issue

    even with arch mounted and os-prober installed debian fails to see arch (i've filed a bug report with debian) arch os-prober sees debian, but like I said, no video so I can't really tell what the menu looks like until I found that problem. anyway, heres /grub/default. I may try updating grubs menu again and see what happens
    GRUB_DEFAULT=0
    GRUB_TIMEOUT=5
    GRUB_DISTRIBUTOR="Arch"
    GRUB_CMDLINE_LINUX_DEFAULT="quiet"
    GRUB_CMDLINE_LINUX=""
    # Preload both GPT and MBR modules so that they are not missed
    GRUB_PRELOAD_MODULES="part_gpt part_msdos"
    # Uncomment to enable Hidden Menu, and optionally hide the timeout count
    #GRUB_HIDDEN_TIMEOUT=5
    #GRUB_HIDDEN_TIMEOUT_QUIET=true
    # Uncomment to use basic console
    GRUB_TERMINAL_INPUT=console
    # Uncomment to disable graphical terminal
    #GRUB_TERMINAL_OUTPUT=console
    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    GRUB_GFXMODE=auto
    # Uncomment to allow the kernel use the same resolution used by grub
    GRUB_GFXPAYLOAD_LINUX=keep
    # Uncomment if you want GRUB to pass to the Linux kernel the old parameter
    # format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
    #GRUB_DISABLE_LINUX_UUID=true
    # Uncomment to disable generation of recovery mode menu entries
    GRUB_DISABLE_RECOVERY=true
    # Uncomment and set to the desired menu colors. Used by normal and wallpaper
    # modes only. Entries specified as foreground/background.
    #GRUB_COLOR_NORMAL="light-blue/black"
    #GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
    # Uncomment one of them for the gfx desired, a image background or a gfxtheme
    #GRUB_BACKGROUND="/path/to/wallpaper"
    #GRUB_THEME="/path/to/gfxtheme"
    # Uncomment to get a beep at GRUB start
    #GRUB_INIT_TUNE="480 440 1"
    #GRUB_SAVEDEFAULT="true"

  • Product Group capacity can not be seen in MF50 output

    Dear All,
    I can not see the product group in 'total capacity' subscreen in output of planning table MF50.
    In MF50 the input parameter i am entering is product group and plant.
    In the scheduling tab of input parameters detailed scheduling and capacity planning is tick.
    For some product groups i can see in output as "Product Groups / Total Capacity" and also in the rows below it shows "Prod.Grp XYZ" then requirement and available quantity rows. After which the production line rows follows.
    For some product groups when enter in initial selection screen of MF50 with same input parameters in output i do not see Product group but i can see "Total Capacity Data" and then the rows starts with production lines. But no information on capacity of product group.
    The setup of all product group is same and are created with MM01.
    Regards,
    Vero.

    Hi Rupesh,
    Thanks for reply.
    In 'Control Tab' i am not selecting any parameter. So in output i can see all materials  in 'Material Data' section which are included in product group  irrespective of requirements.
    I have issue in upper half section of 'Total Capacity Data'. I can see the different production line rows with Requirement / Available rows with capacity values in each period. Unit is %.
    But i do not see 1st row for Product group row with 2 subsequent rows (requirement / available) with unit KG.
    I can see these rows only for some product groups but not for all.
    For the product groups for which i do not see these rows have capacity requirement in selected periods which can be seen in same output in production lines rows. (where selection in input screen is product group and plant)
    Regards,
    Vero

  • Can not change sound output. Help Please

    Well, i've been digging all the forums lately in web. my problem is, i can't change my 'system' sound output to my sound card which is Native Instruments Audio8 Dj.
    Let me explain my problem decently. I do the usual procedure, system preferences > sound > n then select the output. but nothing happens. it is always set on internal speakers or headphone or whatever plugged in to the *Built-in Output*. I try switching from audio-midi setup n that doesn't work as well. The system perfectly recognizes the sound card, i can get output from sound card with applications which have their own output settings. But i cant change the system output. I have the latest version of soundflower loaded(this might be causing the problem who knows), i used many soundcards before(or maybe even ex-drivers?) n they used to work until i updated to snow leopard. I also tried trashing the files in macintosh hd > library > preferences > audio >>
    and those files *did not regenerate* after restart(like 10 times), so i had to copy them from my imac.(hehe). i tried resetting pram or nvram.(didn't do any good too)And also i tried trashing soundpref.plist which didn't do me any good neither. Now i need that sound card to give me my system output. I don't need drivers of any other ex-sound cards or whatever. My drivers are up to date. And im pretty sure this ain't an hardware fail.
    So, any ideas? Thx.

    I am having the exact same problem. I have spoken with Apple Care and they are having my case reviewed by "Engineers," apparently. Its very frustrating as I cannot listen to iTunes or any of my video games through my really nice monitor speakers. FYI, I had this problem without installing Sound Flower, since then I have installed it in the hopes that having something different to select it might work but no changes. If I hear any good news from Apple I will be back to let you know. This seems to be a very rare problem as I have only found one other post about this issue.

  • Output can not be issued.

    I want to see output of outbound delivery when I clicked print preview, i get message Output can not be issued.
    What is issue, if any body know plz do reply. Thnx in adv.

    Hi
    Check with your functinal Consultant he can help out , u need to Click on MESSAGEs and then choose a communication Method and Medium etc etc and SAVE , this ur Functional Consultant can help out and then u can see the OUTPUT when u click on PRINT PREVIEW.
    surya

  • Output message can not be created in a PO

    Hi to you all,
    Output message can not be created in a PO for a customer. During my tests, the yellow output message was created automatically after I have saved the PO.
    I checked ME9F and the table NAST, there is no entry for the PO of the customer. This happens arbitrarily.
    Do you know how and why this can happen? Is it a program error or something else?
    Thanks.
    Esra

    Hi Esra,
    if I do understand you correctly, when creating the PO the system always finds a message to be created ("yellow" message). But arbitrarily the message cannot be generated in ME9F, correct?
    In my view, if the message is always determined correctly in the PO there cannot be any trouble concerning condition records, the error has to occur later in the process.
    Are there any error messages in the processing protocol of a message that cannot be created? What happens if you set the transmission time-spot to 4 (immediatelly)?
    Just my 2 cents
    Alicia

  • Output can not be issued in SapScript..

    I want to see output of outbound delivery of Packing List when I clicked print preview, i got message Output can not be issued.
    In output there is showing red incorrectly processed No handling units exit.
    For that delivery no handling units exit. I want to print delivery with out handling units.
    Plz ket me know any suggestion.

    Hi
    Check with your functinal Consultant he can help out , u need to Click on MESSAGEs and then choose a communication Method and Medium etc etc and SAVE , this ur Functional Consultant can help out and then u can see the OUTPUT when u click on PRINT PREVIEW.
    surya

  • Is there a problem with FaceTime, can not connect. When dial it connects and drops. When friends are calling me they have calling message and I have connecting but it does not connect. Need help, face time is my life line.

    Face time not working. When dialled it says connecting and drops immediately. When my friends calling it show connecting but it does not.
    Is there a problem with face time. I am in south Africa, it was working perfectly up to Easter. Please help this is my life line.

    There is a barely acknowledged issue. For Mac users Apple has released an update to the app, but for iOS users the recommendation is for users to update their ipad to the most recent operating system.
    There may be a fix coming for iOS6 users (which seem to be many of those having problems) or there may not be. If your ipad isn't up to date then you can update it and see if that helps, or if you don't want to update then you may want to wait and see if there is either a fix or if it fixes itself.

  • At the moment I can use my apple Id on my iPod touch to connect to iCloud and IMessage and FaceTime but it doesn't work on App Store. Face to an error: can not connect to iTunes Store. What's wrong? My apple Id is working on my MacBook Pro as well.

    At the moment I can use my apple Id on my iPod touch to connect to iCloud and IMessage and FaceTime but it doesn't work on App Store &amp; iTunes just on iPod  Face to an error: can not connect to iTunes Store. (Setting... itunes &amp; app store)What's wrong? My apple Id is working on my MacBook Pro as well. And it was working on this iPod before resetting . Just after resetting I can not connect to App Store &amp; iTunes and I can not instal any app even free apps

    Try
    Can't connect to the iTunes Store

  • Printfreview, output can not be issued. why?

    Hi, All
    I created a program and a related script form. And I need to make a test in printpriview. Of course, the business module person had set output type for my form. But when I pushed "Printview" , the error message happened that output can not be issued.
    <Priority normalized by moderator>
    Thanks in advance!
    Edited by: Vinod Kumar on May 26, 2011 9:49 AM

    I found the configurature on print output type had somthing wrong, that the output type configured by  business moduler has red spots. Please refer to the screen shot attached .
    So does it mean the print output hasn't configure sucessfully? And it's no business with my form or program?
    Edited by: stephanie.sheng on May 26, 2011 8:40 AM

  • Sent emails can not be read when written in Arabic

    Guys I set up gmail imap on my e63 but the emails I am sending from my phone to computers can not be read by my friends when writen in arabic even if they changed the page encoding to arabic.any idea?
    my blog on the net(in arabic):http://bazkurd.wordpress.com

    This indicates an "overstuffed" mailbox issue which means the mailbox has some corruption and/or is over the recommended size limit.
    The recommended mailbox size limit for Jagaur or Panther Mail is 1GB and for Tiger Mail, 2GB.
    If your OS detail provided is accurate (10.3.9), do the following:
    Quit Mail first and using the Finder, go to Home > Library > Mail > this POP account named folder (named by the user name and incoming mail server for the account) > Sent Messages.mbox.
    Move the Sent Messages.mbox to the Desktop.
    When re-launching Mail, a new Sent Messages.mbox will be created automatically by Mail within the account named folder when sending the next message with this account. This will allow the Mail.app to function properly again while working on the old Sent Messages.mbox moved to the Desktop to recover the existing messages and not risk losing any new messages sent with the account.
    Control-click on the old Sent Messages.mbox moved to the Desktop and at the menu window that appears, select Show Package Contents.
    List the package content file names and size of each here.
    This information is required to determine the next step to take to recover the existing messages.

Maybe you are looking for