Bad encoding in jsf

Hi.
I used this tutorial - http://www.netbeans.org/kb/55/vwp-inserts_updates_deletes.html#05 to learn how to build database applications in Visual Web Pack. Everything is fine, but I have one problem - I am using Mysql 5.0.22 as the database server and the problem connected with encoding:
database has utf-8 encoding,
my jsf application has utf-8 encoding too, but when I try to display or enter data from/to database russian letters doesn't look like russian letters(
I try to find encoding properties in my project, but everything I found is set to utf-8 which is right choice, I think.
What's the problem?
Thanks for help and sorry for my english which is not very good I think.)

First, verify that the browser is capable of displaying the desired characters. It may be that you do not have the correct fonts, etc.
Next, verify that the charset is set correctly on the HTTP response. See the section 3.4 of the HTTP RFC ^[1]^.
[1] ftp://ftp.isi.edu/in-notes/rfc2616.txt

Similar Messages

  • Apache-zip.jar name attachment file bad encoding

    I have following code. which create zip archive, but name attachment files bad encoding.
    name attachment files in encoding UTF-8. letters of Russian alphabet -"имя.txt". get - "¯à¨ï⨥  à鸞.txt" OS - Ubuntu 9.10 64-b
    package action;
    import org.apache.tools.zip.ZipEntry;
    import org.apache.tools.zip.ZipOutputStream;
    import java.io.*;
    import java.util.Arrays;
    import java.util.List;
    public class CreateArchive {
        private byte[] getByteFromFile(String file) throws IOException {
            InputStream is = new FileInputStream(file);
            long length = file.length();
            if (length > Integer.MAX_VALUE) {
                throw new IOException("Size file bad: "+file);
            byte[] bytes = new byte[(int)length];
            int offset = 0;
            int numRead;
            while (offset < bytes.length && (numRead=is.read(bytes, offset, bytes.length-offset)) >= 0) {
                offset += numRead;
            if (offset < bytes.length) {
                throw new IOException("Could not completely read file "+file);
            is.close();
            return bytes;
        public void createZip(OutputStream outputStream, List<String> files) {
            byte[] buf = new byte[1024];
            try {
                ZipOutputStream out = new ZipOutputStream(outputStream);
                out.setEncoding("UTF-8");
                for (String fileName: files) {
                    ByteArrayInputStream sourceStream = new ByteArrayInputStream(getByteFromFile(fileName));
                    out.putNextEntry(new ZipEntry(fileName));
                    int len;
                    while ((len = sourceStream.read(buf)) != -1) {
                        out.write(buf, 0, len);
                    out.closeEntry();
                out.close();
            } catch (IOException e) {
                System.out.print(e);
        public static void main(String[] args) throws IOException {
            CreateArchive files = new CreateArchive();
            OutputStream outputStream = new FileOutputStream("file.zip");
            files.createZip(outputStream, Arrays.asList("&#1080;&#1084;&#1103;.txt"));
            outputStream.close();
    }Sorry for me bad english
    Edited by: P1tBull on Mar 24, 2010 5:35 AM

    Real task was create general archive is selected users files and transmission he in one stream
    package action;
    import org.apache.tools.zip.ZipEntry;
    import javax.servlet.RequestDispatcher;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import java.io.*;
    import java.util.Arrays;
    import java.util.List;
    import java.util.zip.ZipOutputStream;
    public class StreamFiles extends HttpServlet {
        protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
            doGet(request, response);
        protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
            OutputStream out = response.getOutputStream();
            try {
                response.setContentType("'application/zip'; charset='UTF-8'");
                response.setContentType("name=AllFile");
                response.setHeader("Content-disposition", "attachment; filename*=utf-8" + "''" + java.net.URLEncoder.encode("AllFile.zip", "UTF-8") + ";");
                if (request.getHeader("user-agent") != null) {
                    if (request.getHeader("user-agent").indexOf("Safari") != -1) {
                        response.setHeader("Content-Disposition", "attachment");
                        response.setContentType("application/octet-stream");
                    } else if (request.getHeader("user-agent").indexOf("MSIE") != -1 || request.getHeader("user-agent").indexOf("Chrome") != -1) {
                        response.setHeader("Content-disposition", "attachment; filename=" + java.net.URLEncoder.encode("AllFile.zip", "UTF-8"));
                List<String> files = Arrays.asList("catalina.bat", "startup.sh", "version.sh", "tomcat-juli.jar");
                createZip(out, files);
            } catch (Exception ex) {
                request.setAttribute("javax.servlet.jsp.jspException", ex);
                RequestDispatcher requestDispatcher = request.getRequestDispatcher("/error.jsp");
                requestDispatcher.forward(request, response);
            } finally {
                out.flush();
                out.close();
        private byte[] getByteFromFile(String file) throws IOException {
            InputStream is = new FileInputStream(file);
            long length = file.length();
            if (length > Integer.MAX_VALUE) {
            byte[] bytes = new byte[(int)length];
            int offset = 0;
            int numRead;
            while (offset < bytes.length && (numRead=is.read(bytes, offset, bytes.length-offset)) >= 0) {
                offset += numRead;
            if (offset < bytes.length) {
                throw new IOException("Could not completely read file "+file);
            is.close();
            return bytes;
        public void createZip(OutputStream outputStream, List<String> files) {
            byte[] buf = new byte[1024];
            try {
                ZipOutputStream out = new ZipOutputStream(outputStream);
                for (String fileName: files) {
                    ByteArrayInputStream sourceStream = new ByteArrayInputStream(getByteFromFile(fileName));
                    out.putNextEntry(new ZipEntry(fileName));
                    int len;
                    while ((len = sourceStream.read(buf)) != -1) {
                        out.write(buf, 0, len);
                    out.closeEntry();
                out.close();
            } catch (IOException e) {
                System.out.print(e);
    }but mistake on real host don't repeated, so thanks for answer
    Edited by: P1tBull on Mar 24, 2010 8:14 AM

  • [httpclient] bad encoding

    Hello everybody
    I put this code in a Java application :
    System.getProperties().setProperty("httpclient.useragent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows XP)");
              System.setProperty("apache.commons.httpclient.cookiespec", "COMPATIBILITY");
              HttpClient client = new HttpClient();
              HttpMethod method = new GetMethod(adresse);
              method.setRequestHeader("Accept-Language","fr");
              method.setRequestHeader("Accept-Charset", "ISO-8859-1, utf-8");
    But when I download an HTML page, the encoding is bad.
    For example, I get the character "��" instead of getting "�"
    What can I do for resolving my problem ?
    Thank you for advance
    Mathias

    Thank you Jive Forum :-(
    Don't take care of the example I give, the encoding is also bad in this forum

  • Bad encoding/decoding

    Hey,
    We're using a DCP (or content manager) to work with our website. The site is dynamic and pulls all the pages from our database. The DCP uses webEditPro 4 as it's default html editor and the system is coded in ASP.
    Now, the single-quote character is buggy. Whenever the code is sent to the database it is doubled. A single quote will become two single quotes which becomes problematic (especially when you update a page and the doubled single quotes a doubled again).
    I've been exchanging messages with the people at ektron (developpers of webeditPro and our DCP) and they've taken me step by step through our code to verify where the error is. We were able to take out the possibility that the code was badly decoded once it is called from the DB and when it's copied from the editor to the ASP.
    The problem comes when we call "Server.HTMLEncode(fields[12])" this function. We use a hidden field with the that value which should encode the html into the before being inserted into the server. However, when it gets there the quotes are already translated.
    Does anyone know a way to work around this? This problem has been lingering for 5 years and I'm the lucky summer student who gets to fix it :)
    Thanks a million for any help!

    I'm sorry I guess I misunderstood the name of the forum. Since the error was html based I figured that it had to do with our oracle database. I didn't know HTML DB was an actual DB.
    I'll take my inquiry elsewhere.

  • CS 5.5 H.264 Serious Render Bug - bad encoding

    I have Adobe After Effects CS5.5 on Windows 7 SP1. This problem has been reported by dozens of our customers, and happening on many, many videos made by me and my two freelancers. Many of our videos give playback erros on professional presentation software like Media Shout and Pro Presenter. I'm also able to see oddities when playing the videos in QuickTime player and Windows Media Player.
    Windows Media Player plays until the end and then during the final second it gives the error: Windows Media Player encountered a problem while playing the file.
    QuickTime Player: Shows an "extra black looking" first frame. If I press the right arrow key, then it jumps to the end of the video. It also sometimes freezes the previous image when you start the video back over at the beginning. Clearly there is either a header error or some frame(s) is not encoded properly.
    I'm not sure all the exact error messages of the presentation software, but it doesn't play properly and causes problems during presentations.
    Often times I've been able to fix the problem by trimming the rendered extra black off the end of the video, but sometimes this is not possible because of trailing music. I am sometimes (but not always) able to fix the problem by changing the h.264 profile settings. I've had best success by setting HD (1280x720) videos to Profile: Baseline and Level: 3.2 (attached are setting screenshots).
    I have tried 50+ setting varieties on 3 different computers, and I'm starting to think that there is a render bug in Adobe's H.264 encoder. The bug happens regardless if I use either After Effects CS5.5 or Media Encoder CS5.5 to render. Has anyone else had similar problems? Any ideas as to what to try?

    Similar problem here, but not just with H264. I find AE's render capability is seriously flawed. In almost every codec I get frame glitches on any player, including inside PP CS 5.5. I have come to the conclusion that systems design did not do their work. And the other thing that annoys the cr*p out of me is when the cosy lot tell you to upgrade. This is no solution. I have CS 5.5, and expect it to do what it was designed for and which I paid for.
    I bought a program by Corel called Motion Studio 3D, and first out, I was amazed at what it could do, for the price of peanuts, in comparison to AE. The next thing that totally surprised me is how fast the program was. It runs smoothly and renders considerably faster than AE. Yes, for more advanced stuff, you have to use AE. But the reasoning is that much of the advanced capability in AE you may only need after you're dead. All the stuff you need now, you can get with Motion Studio 3D, in a New York minute, with perfectly rendered and playable end result.
    So as far as AE goes, my frustration with it, and generally all the other Adobe programs, has caused me to basically give up on it, because instead of them recognising and admitting to a problem, their answer is generally, spend more money and buy the upgrade. That is unethical. Fix what you proffered as working, and what you got paid for.

  • Sound off on badly encoded mp3's

    Has someone ever had this happen to them ? I have a few mp3's that come from soundbites of the 50's and that seem to have been encoded with some very average software.
    At some point, the sound in iTunes 6.0.4(3) kinda cracks and then...no more sound. Moving onto another song, with better quality, no sound either. It's only after pausing and starting the playback once more that the sound returns.
    btw, this doesn't happen if the faulty song is played using QT, for example.
    Any feedback most appreciated.
    j

    Doesn't happen any more. I imagine something was fixed in the updates. We'll just never know...

  • Bad initial encoding of report after WEB.SHOW_DOCUMENT(MyURL,'_blank')

    Hi,
    I use Developer9iDS 9.0.2 with installed Patch1 on Win2000 with IE 6.0.
    I need an HTMLCSS report in lithuanian language and want to prewiev them in new window in browser with Baltic(Windows) encoding.
    When I produce my report with RUN_REPORT_OBJECT and parameters REPORT_DESFORMAT=HTMLCSS and REPORT_DESTYPE=CACHE
    I found, that my report is OK in cache with all needed lithuanian characters.
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=WINDOWS-1257">
    </head>
    <body dir=LTR bgcolor="#ffffff">
    </body></html>
    But when I open it with WEB.SHOW_DOCUMENT (MyURL/getjobid'||vJobId||'?server=<myserver>,'_blank');
    my browser shows it in bad encoding for first time and every time I must set encoding manualy to Baltic(Windows).
    That's will be very difficult for my users!!!
    I found in source that another one HTML document stands at the begining of my document followed by my document
    <html>
    <head>
    <base href="MyURL/reports/rwservlet/getfile/HXDcQdI8VQ/QC6Q=/58327007.htm">
    </head></html>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=WINDOWS-1257">
    </head>
    <body dir=LTR bgcolor="#ffffff">
    </body></html>
    I think, that first docume[i]Long postings are being truncated to ~1 kB at this time.

    Sorry, my question was ower 1 Kb. My question is:
    I am thinking, that additional document without META may be reason for bad initial encoding.
    Am I right? How can I suppress this first document? Is there another way for solution of this problem?
    Sorry for my english. Thanks for help!
    Algis

  • Free AC3 encoding workflow

    Like most of you, I was annoyed to find out I couldn't create AC3 surround sound files with my CS4 software, and also that we got downgraded from Audition to Soundbooth.  We all paid a lot for it! I know many people have ranted about that already, so enough said.
    Here is a workflow that gets around that problem without ponying up for the SurCode Plug-in, and/or buying Audition!
    To convert your mixed 5.1 audio, or stereo audio, to the DVD standard AC3 file that Encore wants, download the latest version of Audacity here: http://audacity.sourceforge.net/  It is available for Mac OS X, Microsoft Windows, GNU/Linux, and other operating systems.  If you don't know already, it's free!
    Now, before I start getting flamed, about Audacity, it works great!  The UI is not the most modern, but the quality is top-notch.  I've used it for years and most complaints about it are unjustified.
    You'll need to download the latest version: "Beta: 1.3x - for advanced users."  There will soon, I hope, be an Audacity 2.0 stable release. Until then, use the Beta release for this workflow.
    Note:  I'll focus on Premiere Pro CS4, because that is where I originally troubleshooted this, but something similar will work for the other Adobe products that use sound.
    Workflow:
    Create your mixed 5.1 surround sound audio in Premiere, and output the audio only by going to File > Export > Media, and selecting "Windows Waveform" as the output.  You should only have "Export Audio" checked.  Verify the format in the Summary section.  You should see something like: 48000 Hz, 5.1 Surround, 16 bit.  Now under Audio codec, make sure "Uncompressed" is selected.  Click Okay, and Adobe Media Encoder should launch.  Click "Start Queue" and your audio file will be created.  You'll get an interleaved 6 channel wave file.  Not all applications will open it, but Audacity will. 
    Note:  When you mix your surround sound in the Audio Mixer, you'll place your little "Puck" where you want the sound to come from.  Picture yourself in the middle of the "dish," if it's a puck, isn't it in a rink, as in hockey rink...ah, but I digress.  Anyway, you'll notice that volume meters in the 5.1 (6 channel) Master section are laid out in the following order: L,R,LS,RS,C,LFE.  Also, if you open a 5.1 audio file in the Source panel, you'll see the same order from top to bottom: L,R,LS,RS,C,LFE.   Soundbooth also does it that way.  Ahh....Adobe...nice try. 
    The actual channel order should be L,R,C,LFE,LS,RS.  That's the order that you'll probably have to assign in the "Audio Output Mapping" section in the properties menu to get your channels to play correctly with your surround sound hardware.  L,R,C,LFE,LS,RS is also the order that interleaved files use.  So after you create your 5.1 file, and open it in another audio program that displays them in the "proper" order, like Audacity, you'll see your tracks laid out from top to bottom in that order.  I'm not sure why Adobe does it that way, but oh well.
    Surround sound primer: 
    The LFE channel is not, despite popular misconception, a subwoofer channel.  Bass from all the channels in a surround sound Amplifier is summed and sent out to the Subwoofer.  The LFE channel is supposed to be used only for very low frequencies, to create extra  ...oomph.  I think that is the technical term.  It is not supposed to be used for bass frequencies from the other tracks.  It is for explosions, dinosaur footsteps, ...etc. 
    Audacity will open DVD ".vob" files, and even let you select which stream (usually Language) to open.  As an example, open up a movie with some action in it like Ironman (The movie starts at "VTS_03_1.vob") and look at the LFE channel.  It's the 4th track from the top in Audacity.  You'll see it's silent except at parts where there is thumping AC/DC music at the Intro, or explosions.  It's not used as a subwoofer channel!   
    With that in mind, you may have noticed, unless I'm missing something, that there is no way in the Premiere Mixer to assign an audio track only to the LFE channel.  Sure, you can dial up the "Bass Clef" knob to 0.00 db, and send a mono channel's audio to the LFE channel, but there is no place to put the "Puck" that only outputs to LFE.  There is one for the center channel, but without someplace to put it, your 40 Hz dinosaur footprint "Thump" is going to also be assigned to some of the other channels.  Which channels depends on your "Puck" placement.  This is not correct.  Again, unless I'm missing something, Adobe needs to correct this oversight.  We'll get back to this problem with a solution later, but first let's continue with the AC3 issue.
    At this point you should have your wave file.  If you want to apply any global changes to all 6 channels, you can open it in Adobe Soundbooth and trim the beginning or end, and apply effects to the entire file.  You cannot, however, make changes to individual channels.  Audacity will!  We'll get to that later.
    Encode with Audacity: 
    Install the software and go to Edit > Preferences > Libraries, and click on "Download" for the "FFmpeg Library."  This is the library that Audacity will use to create the .AC3 file.  Once installed, the library version should show up next to "FFmpeg Library Version" While the "Audacity Preferences" window is still open, select "Import/Export" and select "Use Custom Mix", this is used to export a 5.1 channel file.  Now you're ready to open your .wave file from Premiere.  Drag and drop it in the Audacity workspace and you should see 6 mono tracks laid out from top to bottom in the following order: L,R,C,LFE,LS,RS.  Audacity will let you edit the individual tracks, unlike Soundbooth, thanks Adobe.  But for now, we'll keep it simple.  Set your "Project Rate" in audacity in the lower-left corner to what you want the AC3 file to be.  For DVD, chose 48000 (Hz).  If you leave it at 44100 (Hz) Encore won't import it. 
    Your almost done.  Now let's export the file.  Go to Files > Export... > and select "AC3 Files (FFmpeg)" in the "Save as type:" drop-down.  Click the "Options..." button and set the "Bit Rate:" for your file.  For 5.1 AC3 audio, probably 448.  Now enter a file name and click "Save."  This will open the "Advanced Mixing Options" window.  This allows you to re-map the tracks to a different channel order.  It should be correct, and it should show "Output Channels:" set to 6.  Press "OK" and you're done.
    Presto, you have a 5.1 channel AC3 file.  Use that in Encore, or whatever DVD creation program you use, and when you play your DVD you'll have full 5.1 audio coming out your surround sound Amplifier.  That is if you have one.
    Test your file:
    If you want to test your file, you can do a couple of things.  Since Soundbooth and Adobe  Bridge won't even open AC3 files, and Encore will open but only play the Left and Right channels in the preview, you'll have to either import the file into Premiere, or use another media player.
    If you got Premiere to play your surround properly, then you can drag and drop the file into the "Project" panel and preview it from there. You will hear all 6 channels in the correct speakers, but I did notice that the quality is not very good.  Maybe Premiere doesn't decode AC3 all that well.  I heard some crackle that isn't in the file.  How do I know it isn't just a bad encoding job by Audacity?  Because I played the file with the VLC media player, and Cyberlink PowerDVD on the same computer, and also on a DVD in my home theater system with no artifacts.  Maybe Premiere doesn't decode AC3 files well. 
    The VLC player, will play almost any file in the known universe, and at least on my computer, it automatically played the AC3 surround file, created by Audacity, with all the channels mapped correctly.  That's right, full surround out my speakers with only default settings.  It's a great player.  Get it for free here: http://www.videolan.org/
    Test with Encore:
    So far so good. Now open Encore, drop the AC3 file in an empty project, throw it on a Timeline and build the project without Video,  It will autoplay without a menu this way. If you set the End-Action to the same AC3 file it will repeat continuously.  Either burn this to DVD-RW and test it in your DVD player, or better yet, Build the project to a DVD Image instead, and mount it in a virtual DVD   Drive with a program like "Virtual CloneDrive."
    If you don't know what that is, or how to do it, it is very simple.  Go to: http://www.slysoft.com/en/ and download "Virtual Clonedrive."  It is free.  It tricks your operating system into thinking you have another physical DVD drive.  In fact, it can create up to 8 virtual drives.  Now you don't have to waste time burning, and erasing DVD's every time you make a change to a project.  You can build your project as a DVD Image from Encore, save the .iso file to your Desktop and "mount" it (load it) in Virtual Clonedrive.  You're computer will now think you loaded a DVD into a physical drive, and launch whatever DVD player you have installed.  Mine launches "Cyberlink PowerDVD" which plays the AC3 audio-only DVD in full surround sound on my computer. 
    Building and testing projects this way will save you endless hours.  If you need to make a quick change, just "Unmount" the .iso in Virtual Clonedrive, rebuild your project to the same filename, and "Mount" it again.  Instant testing!
    Now, as promised, back to that LFE Channel problem with Premiere that I mentioned:
    Audacity will let you modify the individual channels in your interleaved 6-Channel file.  So don't put anything in that channel in your Premiere mixer. Leave the "Bass Clef" knobs at full CCW position ( -00 db ).  The bass from the other channels will go to your subwoofer automatically in your Amplifier.
    Now if you have some low frequency effects files, open them in Audacity.  You can open multiple instances of Audacity at the same time by going to "File > New."  Then, copy and paste them into the LFE Track at the correct point.
    Audacity newbie Hint:  Audacity doesn't yet have a "Mix-Paste" function, so to avoid altering the track length as you paste in your clips, do the following: Select the LFE track by clicking on it's info area.  The info area should say something like "Mono, 48000Hz"  Then press "Delete," That will remove everything from the track.  Now copy and paste your clips into the track by clicking once with the "Selection Tool" where you want the clip to start, and selecting "Edit > Paste."  If you need to fine tune the position of the pasted clip, use the "Time Shift Tool" to move it left or right.  If you work from left to right, then you won't push clips over when you paste new ones in.
    There is another way to do this by opening up new tracks, using the "Mix and Render" function, and re-ordering the tracks to maintain the L,R,C,LFE,LS,RS channel order.  But that's for advanced users.
    Where to get thumpy effects?:
    Remember, Audacity will open DVD ".vob" files.  Just remember to get permission from the copyright owner.  HeHe.
    PS If you can't get your surround sound to work with Premiere on your computer, see my other tutorial.

    After further research, there is a better AC3 encoder out there than the FFMPEG that Audacity uses.  It is a more sophisticated implementation of the format.  Unlike FFMPEG, it uses floating point numbers instead of integers internally, among other things.  It is also updated periodically.  Although the pace is glacial.
    You can read about it here: http://aften.sourceforge.net/
    The easiest way to use it is with a graphical front-end like "wavtoac3encoder" found here: http://code.google.com/p/wavtoac3encoder/
    You don't need to change anything from the default settings.
    Just follow my tutorial above and instead of using Audacity to create the AC3 file after you are done editing, output the multi-track file in .wav format uncompressed from Audacity.  Then drag and drop it into "wavtoac3encoder"and create your file.
    If you don't need to edit the multi-track .wav file from Premiere in Audacity, then just drag and drop that file into "wavtoac3encoder" and encode.
    The quality, although probably not as good as SurCode, sounds good to me.
    Remember, this is strictly for non-commercial use.

  • Media Encoder Problem

    I am using Flash CS 4, If I attempt to file>import>import video,  the import video window/dialog box opens, if I browse and select a AVI.file  I receive a dialog box telling me it is in the wrong format and to use the Launch Adobe Media Encoder button to convert to proper format. This is where problem starts.
    An Adobe Media Encoder Debug Event dialog box opens, it states that "Adobe Media Encoder has encountered an error", ..\..\Scr\Init.cpp-42
    the only option is to select a continue button, then an Adobe Media Encoder dialog box opens stating that "adobe media encoder has encountered a problem and must close. It wants to report the issue to Microsoft, but that doesn't help me start or repair my problem. I have created a 3 page PDF of screen images which shows the sequence of dialog boxes and messages, I have tried to locate error data files in application data files, I can find the folder but it does not contain any error txt files.
    Can any one Help me with this issue, any way I attempt to open Media Encoder the results are the same.

    I've been very fortunate to have a lot of hi-def video work the last three months and the Media Encoder is literally making me think that Premiere CS4 is really more of a hobby program. I spend a third of my time watching the encoder stop, viewing encoded files that don't work. I updated to 4.0.2 and it is worse. I think Adobe really needs to address this problem. Premiere is a great tool and its ability to import Sony Hi-def XDCAM footage is really a nice thing, very helpful, but what good is it when you spend so many hours watching your finished video get crashed in the encoder? I have tried a lot of things and at this point one pass on the FLVs for client reviews seems to be the best I can do. I have a great computer with a quad CPU and lots of ram but I really think Adobe is not addressing those of us that want to use the tool to make a living that are finding it a really bad encoder and would love to hear any ideas on what I might be able to do.
    BTW--typical project is 6-7 min. long with about 100-125 clips. I had a lot of problems also with Premiere CS4 crashing and not allowing me to open files but I used embeded sequences to stop the crashing. If I didn't spend so much time finding workarounds on CS4 I could really make a good living. BTW--the Sony EX1 is a really great HD camera.
    Leo

  • A problem about Chinese encoding

    When i access portal by SSL,I find one or two problems about encoding.
    reshow these problems:
    1. Locale be set to Chinese(zh_CN)
    2. access portal by SSL
    3. Administration/create portlet
    Then the popup window's title will show a bad encoding.
    otherwise,if i search chinese, then only have bad encoding shown in the searchbox and i can't get anything.
    MY running enviroment:
    windows 2003
    plumtree foundation v6.0
    plumtree publisher v6.2
    tomcat 5.0.58 with jre_1.4.2.08
    MSSql 2000 sp4
    and I have tried other BEA ALUI newer version,I can get these problems.
    I'm appreciated for any help.

    ANSI 0xFF is NBSP. NBSP in Unicode is 0x00A0... so neither 0x00FF (which is �) nor 0xF5F8 (which is in the "private use" range) is correct. Something really weird is going on.We are talking about CP1252 and in CP1252 0xFF is �
    (see http://czyborra.com/charsets/iso8859.html for example) and thus is \u00FF correct.
    btw. I would never use windows notepad as reference application.

  • Bad quality with ken burns slideshows on DVD

    I've created several movies from still images using iMovie 08 (7.1.2) and its Ken Burns effect. The preview in iMovie looks really great and plays fluid.
    Then I've exported the movie using the checkmark to produce a "large" video file. The result was then selectable in iDVD 08 (7.0.2).
    Now I've made some nice looking menus and linked my movies to the project. The built in project preview of iDVD still showed me good looking results (the resolution was slightly decreased in order to meet DVD specs but that is acceptable).
    But after burning the project to a DVD (or exporting it to an image file or VIDEO_TS folder) the quality went absolutely terrible! There are huge compression artifacts on some regions and all imported iMovie clips are studdering very heavily. Especially fast Ken Burns pannings suffer from a bad encoding quality.
    It's driving me mad because those problems only appear on that part of the DVD I've created using iMovie. The (animated) menus and imported camcorder clips are playing fine in a good quality.
    I've double checked the export results from iMovie (playing the produced m4v file using Quicktime and VLC) and they are absolutely fine...
    Is there anything I'm missing?
    The iDVD project settings are PAL, 4:3 aspect ratio and professional quality (even tried high quality and best performance at no luck). The entire project length is only ~20min...
    Any help would be greatly appreciated

    Okay, you are absolutely right. But it's a pity that Apple restricted the encoding engine in such a way. Users might think that a setting which is called "professioal quality" just does it job and encodes the material at this level.
    I understand that a professional application like DVD SP offers a lot more settings for advanced users (without the ease of use when compared to the simple iDVD workflow) but I'm quite sure that it does this job better even with "default" settings.
    For me I'm now doing those things with a 50$ version of TMPGEnc
    Anyway, thanks for your help!

  • [SOLVED] File name encoding issue

    Hi all,
    I have a large series of files with accented characters, they were all displayed nicely, but at some point, when I copied them to another computer, the characters were replaced by codes, for instance: "ó" --> "ó".
    +Renaming ie. "Pasó" (bad encoding of "Pasó") --> Pasó, while writing it, it shows the correct character, but when pressing enter the name remains ("Pasó")
    +If I rename the file to something else and then to the correct name, it will accept it: Pasó --> Pas --> Pasó will display correctly.
    I don't know if it's a system wide encoding issue because new files are displayed correctly, but I would like to know if I have to change file names manually to make them right.
    PS. When copying bad encoded files to another FS (like a USB drive), nautilus and bash refuse to copy them.
    Last edited by Wasser (2012-09-17 21:10:52)

    My fstab:
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    tmpfs /tmp tmpfs nodev,nosuid 0 0
    # /dev/sda2 LABEL=ROOT
    UUID=d2243d9c-b8e7-442a-8446-5a43a4d9221b / ext4 rw,relatime,data=ordered 0 1
    # /dev/sda5 LABEL=HOME
    UUID=e67f5cfa-3ec3-4c06-9c2c-62c4cc188ffe /home ext4 rw,relatime,data=ordered 0 2
    # /dev/sda3 LABEL=VAR
    UUID=caac4924-2a13-4c97-9926-668ac0595ba3 /var reiserfs rw,relatime 0 2
    # /dev/sda1 LABEL=UEFI
    UUID=1E70-6485 /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
    # /dev/sda4
    UUID=14993c2e-4bc4-42e4-b2e5-9dbc286abb4c none swap defaults 0 0
    Files in question are in /dev/sda5 (HOME)
    Last edited by Wasser (2012-09-16 08:37:52)

  • Bad quality DVDs

    I'm getting really bad quality DVDs, especially the menus. I created the menus in Motion and used them as menus in DVDSP 4. I build the DVD in DVDSP and everything looks OK, even when I play it using DVD Player, but when I burn it and play the disc with Player it looks dreadful, like bad encoding. I'm encoding with VBR at a bit rate of 5 with a max of 6.5. Any ideas? Thanks.
    Chuck

    Hi CHuck,
    i've never used Motion, but i can't help you there except to say double check that you are using the full quality settings.
    Did you use 1 pass or 2 pass VBR? Your bitrate seems fine. What was the source (Vhs; camcorder; stills?) Try the DVD on another player. Some of mine look different on my samsung player than on my Sony, with the latter looking much better.
    Are you using a brand name type of DVD media? That could be a problem if not. Are you burning at 1xDVD speed (only available through Toast). Maybe the burn speed is too high?
    Cheers,
    keebler

  • Using Java constant in JSF

    Hello!
    I�m new in JSF and I want to use a constant into a jsf tag but I don�t know how to do it. I know in JSTL but not in FSF.
    This is what I want:
         <h:outputText id="test"     value="<%Constantes.DOCUMENT%>"/>     I have tried so many things to use my constant in the value element but I don�t know the way                    
    Thanks.

    first off Scriplets are bad practice in JSF and should be avoided.
    I use this workaround for constants in jsf. Create a my constant as properties on a FacesConstants class, which is defined as a Managed Bean with scope of none and having getters for each property.
    public class FacesConstants implements MyConstants{
    public String document = DOCUMENT;
    public String getDocument(){
    return document;
    <managed-bean>
         <description>used to get faces constants for refereing in EL Expresssions</description>
              <managed-bean-name>constants</managed-bean-name>
              <managed-bean-class>com.myproj.faces.util.FacesConstants</managed-bean-class>
              <managed-bean-scope>none</managed-bean-scope>
    </managed-bean>
    so in the jsf code just say #{constants.document}
    Not sure if this is best practice? in fact I'd prefer a more elegant solution
    Edited by: scottyb on Apr 8, 2008 5:10 AM
    Edited by: scottyb on Apr 8, 2008 5:12 AM

  • Question: JSF Page Templates inside Template - possible or not?

    Hi guys!
    I like pageTemplates! Really nice thing to decompose UI (especially supporting ADFm in background :))).
    But, when I tried to define new template using another template, I was not able to reach facets of existing template (designer shows the "picture" of existing template but I cannot reach facets nor "enter" the template in any way). Looks like template inheritance is not supported? Or I'm doing something wrong.
    Anyone succeeded to define new template based on existing one?
    Thanks for any clue,
    Pavle

    Hey,
    I think we should take emotions out for a while and consider the options you have to build "reusable" pieces with templates today.
    If you, for example, build a declarative component out of existing layout components and specify facetRefs for areas you want the application developer to change or add cmponents to then this becomes reusable as a ADF library. This said, a change to the declarative component has immediate effect to the decalartive components used on a page and/or template as soon as the new ADF library jar is in. So for basic needs like modifying a base template to contain customized headers etc. I think this should do.
    Rgarding "under discussion". We are for sure no idiots and have an eye on the market and application development needs. So its not a discussion of "do we want that feature" - as we all agree on that we want to have this - but, what would be the possible impact that could happen, like performance, access to contained binding references, circular template references, how-deep does it make sense. This - and I hope you agree - should be discussed first and then properly implemented rather than blindly coded into the product.
    However, we do have release cycles and some features might come just too late to be within the first cut - unless we want our customers to wait any longer than necessary to get their hands on a production version of JDeveloper 11.
    "But, maybe the truth is hidden from the public? Maybe JDev is not intended to be the custom apps dev tool but only "customization" tool for WebCentre and other Oracles applications? That way the focus on taskflows instead on full UI is justified"
    Taskflows is part of the Oracle ADFc controller, which is an extension to the Faces controller. It can be used without ADF using plain JSF components and bean binding. Taskflows is badly needed in JSF because it solves many usecases of Ajax that otherwise you can bang your head against a wall on
    - isolated memory scope
    - isolated transaction handling with "safe for later" commit, and rollback functionality
    - declarative back browser handling
    - page-to-page navigation within a page
    - break up of activity navigations in reusable units
    - Declarative JAAS based security
    - Defined entry and exit points
    Taskflows are not a mean to build reusable layouts, but reusable flows (thats a big difference and will benefit to application development outside of Oracle Applications big times). Of course, some features might be limited to the use with ADF, but I don't think that you can blame us for having technology that enables out-of-the box behavior for what otherwise you have to hand-code.
    Regions I think is what you are addressing as a solution to embed "template" alike content.
    Frank

Maybe you are looking for

  • When I customize my presenter display it doesn't work! I still get on my screen what shows on the main display.

    When I customize my presenter display so that I can see the time and the next slide on my screen, it doesn't work. I get just the normal view on both. Any ideas?

  • DME Dowload file error "FILE SPECIFIED IS EMPTY"

    Hi Guru, I have run  Payment program and i have generated payment medium for flat file also done all the config settings to generate Payment medium.It has created data medium for the payment run and found the entry. When give download in DME admistra

  • WILD Cards usage in BEX

    Hi Experts,         Can any one suggest me whether WILD CARDS (eg : ' %' or ' ? ' ) will be used in Bex Explorer.         I have a requirement where my ' Material Short Text ' will be   '<b> SULFATE,ZINC99.0011</b> '  Now user need a Keyin Field wher

  • Change Smart View default colours for all clients

    I need to change Smart View default colours. But it must be done in a centralized way, so I can not set it up at the client level. I'm not sure if Smart View takes defaults from planning.css styles, or if they're defined somehow at the provider, or m

  • h:commandLink problem

    I think I don't know how to use <h:commandLink> and <h:commandButton> correctly because I have encountered a lot of problems with this two components. Sometimes it works OK, but sometime it doesn't work. For example: <f:view>                <f:loadBu