CalenderComposerCard encoding problems

Hi guys,.

I have a problem with the blackberry.invoke.card.invokeCalendarComposer(). I'm trying to use the special characters of the German language as "Aug" and they get scrambled when indicated in the called card. Here is a screenshot of the example:

When I use "encodeURIComponent" as on other calls I have the problem that the spaces are converted to "% 20" and are displayed as such in the calendar object.» I tried if the string on spaces only encode parts of text, and special characters are always scrambled.

Someone at - it an idea how to solve this problem?

OH and BTW: How can I make the event an all-day event?

See you soon

Christian

One of your blackberry collegeaus has followed this internally somewhere as described on github and has a way to solve this problem to patch the webworks framework, if I understand.

So this time I hope that the problem is not on my side.

Tags: BlackBerry Developers

Similar Questions

  • [LIKE, CS4] Import and export text file that contains the tag: encoding problem

    Hello

    I have a script that exports a text selection into a temporary folder (Unicode) text file with label. This file is then loaded in a variable AS and transformed line-by-line for some changes to the text. Subsequently a new text file with the modified content is written.

    Up to CS2 (and 10.4 PPC) this script worked like a charm. He stopped working with the new system and Intel. Meanwhile, I discovered that it must have something to do with encoding problems. «Everything in the old writing with ' as a unicode text "forced a mistake (since AS 2 each text is processed as UTF - 16), so I changed these lines to ' as text '.»

    In addition, I realized, that InDesign exports to tag text Unicode like UTF-16 (little endian), but importing tagged text to UTF-16BE (big-endian). "As variables and" write iconv ' command uses MACROMAN, so I added a few conversions with ""and it worked.

    Unfortunately the last conversion of MACROMA in UTF-16BE converts all spaces in the output string en normal spaces.

    I am therefore a little at my end of the problem. Can someone help me please?

    See you soon

    Tobias

    [InDesign 6.0.4 with AppleScript on Mac OS v2.0.1 X 10.5.8, Intel]

    A code for the relevant parts:

    Export as referenced text selection:

    on TMPexportTaggedText(myFileName, myText, myEncoding)
        tell application "Adobe InDesign CS4"
            tell tagged text export preferences
                if myEncoding = "ascii" or myEncoding = 1 then
                    set character set to ASCII
                else if myEncoding = "ansi" or myEncoding = 2 then
                    set character set to ansi
                else if myEncoding = "unicode" or myEncoding = 3 then
                    set character set to unicode
                else if myEncoding = "jis" or myEncoding = 4 then
                    set character set to shift JIS
                else if myEncoding = "gb" or myEncoding = 5 then
                    set character set to GB18030
                else if myEncoding = "ks" or myEncoding = 6 then
                    set character set to KSC5601
                else
                    set character set to ansi
                end if
                set tag form to abbreviated
            end tell
            export myText format tagged text to (myFileName) without showing options
        end tell
        tell application "Finder"
            try
                do shell script "iconv -f UTF-16LE -t UTF-16 " & (POSIX path of myFileName) & " > " & (POSIX path of myFileName) & "1"
                set myFileName to myFileName & "1"
            end try
        end tell
    end TMPexportTaggedText
     
    

    Line and placement in InDesign (circleLines not the textual changes and throw a string with):

    set theOutput to my circleLines(IN_File & "1", myOptions)
        
    if theOutput ≠ "" then
      tell application "Finder"
        open for access file (OUT_File & "1") with write permission
        write (theOutput) to file (OUT_File & "1")
        close access file (OUT_File & "1")
        try
           do shell script "iconv -f MACROMAN -t UTF-16BE " & (POSIX path of (OUT_File & "1")) & " > " & (POSIX path of OUT_File)
           do shell script "cat " & (POSIX path of OUT_File) & " | tr '\\n' '\\r'"
        end try
      end tell
    end if
        
    place (OUT_File) on curSel without showing options
    
     
    

    The string output with

        write (theOutput) to file (OUT_File & "1") as unicode text
    
    an error of InDesign (bodychecking).

    The problem is not as long as ID's export is little-endian - someone ' one has not heard of Intel chips - but it does not add a byte order mark. If you add a BOM, the problem should go away. Here's how you can add a Bill adapted to an exported file to tag:

    the fileRef value (open for access file "Macintosh HD:Users:shane:Desktop: Untitled - 16.txt" with write permission)

    the value of x to read fileRef

    Set x to character id {711, 731} & x - add THE BOM

    write x to fileRef starting with 0

    FileRef close access

    Then you can read it using "text Unicode", and it should also cross-platform very well.

    And stop putting your file read/write inside blocks Finder - is not the business of the Finder.

  • Encoding problems in Web sites

    I have problems in different websites. Some texts are as if the encoding was messed up. In the page itself, either in the form of pages such as this. This is not the case in the various browsers.
    I downloaded a few screenshots of this problem:
    http://i50.Tinypic.com/11ihjf4.PNG
    http://i46.Tinypic.com/117tmid.PNG

    URL of affected sites

    http://

    It is not not an encoding, but a police problem.

    This problem may be caused by the version of the bitmap of the font Helvetica or Geneva or another font (bitmap) that cannot be displayed by Firefox in this font size.
    Firefox cannot display that font in the specified gibberish of size and display instead.
    You can test in zoom out (view > Zoom > Zoom out, Ctrl-) to make the text smaller.

    Uninstall (remove) all variants of this not working do Firefox, use a different font or find a version of real type of the font that doesn't have the problem.

  • DataOutputStream HTTP Post rinse and segment the encoding problems

    Hello

    I'm finally back to the question that I had a few months ago, but I can't always solve this

    I used this article to understand how to upload files into pieces of a server: http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800431/How_To _...

    Downloading is easy to implement, but I have problems with the download. I am trying to download a large file into smaller pieces. I tried different options. The one that works best is when I use DataOutputStream and write in there after each small party has been read from the file.

    But when I used the flush() function then he threw OutOfMemoryException()! But only if the file is quite large.

    An example of code:

    InputStream    is = (StreamConnection)Connector.open(url , Connector.READ_WRITE, true);
    HttpConnection c = (HttpsConnection)is;
    
    //set connection parameters
    c.setRequestMethod( HttpConnection.POST );
    c.setRequestProperty( "User-Agent", "MyUserAgent/0.2" );
    
    for( ;; )
    {   if( done ) break;
    
       //i have removed some reading code to simlify example
       out.write( bytedata  , 0 , bytesRead );
       Thread.yield();
    }
    
    out.flush();     //<-- OutOfMemory exception here!
    
    int result = c.getResponseCode();
    
    out.close();
    

    I found that I wasn't the only one to have this problem.

    1: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4212479

    2: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5026745

    I usually have the same code, but only use HTTPConnection for this.

    The solution was to use "Chunked" encoding of the header and appellant hunting every time data is written to the output stream.

    However, it has not worked for me. If I use a stored block coding, I 'ConnectionClosedException' when flush() is used for the first time.

    Here is a code example:

    InputStream    is = (StreamConnection)Connector.open(url , Connector.READ_WRITE, true);
    HttpConnection c = (HttpsConnection)is;
    
    //set connection parameters
    c.setRequestMethod( HttpConnection.POST );
    c.setRequestProperty( "User-Agent", "MyUserAgent/0.2" );
    c.setRequestProperty( HttpProtocolConstants.HEADER_TRANSFER_ENCODING, "chunked" );
    
    for( ;; )
    {
       if( done ) break;
    
       //i have removed some reading code to simlify example
       out.write( bytedata  , 0 , bytesRead );
       Thread.yield();
       out.flush();     //<-- ConnectionClosedException
    }
    
    int result = c.getResponseCode();
    
    out.close();
    

    Here is a screenshot of the at the time of the exception stack trace:

    And here are the details of the exception:

    Now, I honestly don't know what to do next. I tried all sorts of options and choices, but can not get this to work for some reason to download any.

    Tried on BlackBerry JDE and Simulator 4.2.1

    Help, please

    Thank you.

    Thank you, but I think that this was not related to this problem.

    The solution is to use SocketConnection would work on writing data OutputStream and flush(). But only if the Content-Length is calculated with precision and this server application is also properly formatted.

    If there are errors in the POST request, the server would send a message back and ConnectionClosedException appear.

    The best way to resolve these issues is to get a sniffer package good as "Wireshark" and study all the packages with a lot of attention even a small typo can break everything.

    I have another question, but the download itself works with the function flush() as expected on the device and emulator. So I think this can be considered fixed.

  • Get 403: Forbidden of Google API - encoding problems in my POST?

    Hi all

    I have problems connecting to the Google API by MAIL by following the instructions on this page:
    http://code.Google.com/APIs/accounts/docs/AuthForInstalledApps.html#ClientLogin

    I've also posted on the forums of the Google API, but I'm starting to wonder if it's a problem that this forum would be able to answer. Here is the post on the Google forum:
    http://www.Google.com/support/forum/p/Apps-APIs/thread?FID=1c22cb44eb5cbba600048a1fc5f25621&hl=en

    Google used to accept a GET request and provide a string SID, who served as a connection key services such as Docs and Calendar. He still offers this SID to GET requests, so I know I can do the BB Simulator applications, but it no longer accepts the SID as a connection key. Now, I have to send a POST request in encoding UTF-8, including parameters as my user name and password and get an AUTH token in response.

    Missions in this forum, I see that I can use a URLEncodedPostData object to encode the parameters for the WORK in UTF - 8. (I know I have to eventually get keys to use on a true signature BB, but I want to get a hello-world working on the Simulator before I pony up for them). I put the settings in this item and include it in the application, but I always get a 403: forbidden with an error message 'error = BadAuthentication' in response, as if my password is wrong. I checked the name of user and password with care, and I can do the JOB and get the AUTH token with the curvature of the line of control on this machine, there must be something about how I make the POST in the Java code.

    Someone on the Google forum suggested that my settings may not have been encoded in UTF - 8, but shouldn't the 'UTF-8' parameter in the constructor URLEncodedPostData manage this coding? I also tried manually escape the '@' in my e-mail address to "% 40" because it seems that URLEncodedPostData does not encode the symbol like this @.» (My password contained no character who must escape for URL encoding.)

    Here is the code I use. I use the Eclipse IDE for Blackberry OS 5 (I think that the version of the plugin for eclipse is 5.0.0_5.0.0.25) with Verizon 9630 Tour 5.0.0.591 Simulator. Any help?

    private void googleSignInTest(String emailAddress, String googlePassword){
    
    // see http://code.google.com/apis/accounts/docs/AuthForInstalledApps.html#ClientLogin
    String uri = "https://www.google.com/accounts/ClientLogin";
    
    InputStream inputStream = null;
    HttpsConnection httpsConnection = null;
    
    try{
    //create https connection, POST
    httpsConnection = (HttpsConnection)Connector.open(uri);
    httpsConnection.setRequestMethod(HttpsConnection.POST);
    
    //http://supportforums.blackberry.com/t5/Java-Development/HttpConnection-set-to-POST-does-not-work/m-p...
    URLEncodedPostData postData = new URLEncodedPostData("UTF-8", false);
    postData.append("accountType", "GOOGLE");
    postData.append("Email", emailAddress);
    postData.append("Passwd", googlePassword);
    postData.append("service", "cl");
    postData.append("source", "my-test-app");
    postData.append("Content-Type", "application/x-www-form-urlencoded");
    postData.append("Content-Language", "en-US");
    
    DataOutputStream outputStream = httpsConnection.openDataOutputStream();
    outputStream.write(postData.toString().getBytes());
    outputStream.flush();
    outputStream.close();
    
    //make the request and get response
    int responseCode = httpsConnection.getResponseCode();
    //403 Forbidden Error=BadAuthentication
    
    //Do something with the response
    ...
    }catch (IOException e) {
    e.printStackTrace();
    }
    

    Seems that I have to set the content type in the connection, and not in the post data:

    httpsConnection.setRequestProperty(HttpProtocolConstants.HEADER_CONTENT_TYPE, HttpProtocolConstants.CONTENT_TYPE_APPLICATION_X_WWW_FORM_URLENCODED);
    

    Also, the following line is probably not just:

    outputStream.write(postData.toString().getBytes());
    

    It probably should be:

    outputStream.write(postData.getBytes());
    
  • Adobe Media Encoder - General encoding problem

    I've just updated yesterday first and Adobe Media Encoder and experiencing major issues with the SOUL.

    In short, I'm trying to convert a video into ProRes 1920 x 1080 for a H264 for web, something I've done a thousand times. Although, I can't start the queue. When I click the 'green' or press 'return' nothing happens...

    I tried other source files, adjusted the format/screening/way out to many different settings/paths and restarted my computer several times and the software... Yet, I still cannot start the queue with ANY file/setting.

    I use first and SOUL for over 4 years now and have never had a problem like this... Help!

    End of 2013 MacPro

    It seems that your preferences has been corrupted somehow. Could share you with us?

    They are located in the folder "Documents/Adobe/Adobe Media Encoder.

    If you delete this folder, this problem should be resolved for you.

  • Adobe Media Encoder problem suddenly made with CL open

    After update for first Pro CC 2015.1 - 9.1.0 (174) man and Media Encoder 2015.1 Build 9.1.0.163 I am facing a problem of rendering to H.264 format. I get the message "error compiling Movie - unknown error". However, when I spend "Mercury Playback Engine (OpenCL) GPU acceleration" to "Mercury Playback Engine software" only the same images makes it flawless. Of course, it takes about twice as long. Even abroad, the same images will make to ProRes using GPU acceleration. Here's my hardware features:

    iMac (retina 5K, 27 inches, end of 2014)

    Intel Core i7 4 GHz processor

    Memory 32 GB 1600 MHz DDR3

    Graphics card AMD Radeon R9 M295X 4096 MB

    OS X 10.10.4


    I tried rendering on another drive and the same failure occurs. I tried to export directly from Premiere Pro and the same thing happens.


    Any thoughts?


    Thank you

    Aviva



    Workaround solution discovered!

    I went through the clouds creative and found that I could turn the clock back to the latest version (December 2015) SOUL the previous SOUL CC 9.0.0.222 CC. (It's a bit buried in 'Previous Versions') Automatically downloading trashes newest version and install the other oldest.

    I threw the last first Pro CC - 2015.1 9.1.0 174 (Build). I chose the same piece of the timeline to compress with the same parameters of H.264 which had been at fault, he gives and launched SOUL 9.0.0.222 changed the rendering engine to the Mercury Playback Engine GPU acceleration, started the render and crossed my fingers. (I didn't hold my breath.) I was 39 minutes of video).

    And it worked!

    I had not changed anything else. I'll do some additional testing, but for now - because of the length to make it - I'm sure that this workaround is solid. The tricky part is to find the old version of SOUL on creative cloud.

    Aviva

  • Creation and Media Encoder CC encoding problem

    Hi all

    I'm having a problem of encoding with PP and CC ME. My video assets are thin and on the timeline, they appear how they should, but when I look at the rendered video h264 there are coding errors in the video. I have attached two images, black is the way it should look like and the White is the error. The video plays well and then he vacillates between the pictures shown.

    He did it on a few different videos that I made these days and I don't know why. It also happens to another machine to CC as well. Does anyone have any suggestions?

    1.png2.png

    Hi all, I found the problem. It wasn't first or Media Encoder, quicktime pro. I placed the videos I thought has a question about a new timeline in first and it played back fine.

    Thanks for your replies.

    James

  • Recorded at no constant 60 FPS gameplay encoding problem

    I use Adobe first CC.

    I record gameplay videos, and games don't always work at constant 60 fps. Sometimes he climbs to 40, 45, 50, 55FPS, etc. (most of the video is 60, although) when I try to encode the edited video, he adds content extra at the end to compensate, the video freezes, but I can hear the sounds. I put the recording software FPS to 60, I put the sequence at 60 fps, and I set the framerate of output to match the sequence of parameters/60 fps.

    What is the problem and how can I solve this problem? I just spent half a day trying to find the problem.

    No version of first (Pro or elements) is designed to edit video VFR (Variable Frame Rate)

    You must force your gameplay software to record at a constant rate, or something to convert... or something from the provider to capture gameplay allows you to edit

  • UrlConnection encoding problem

    I use URLConnection to connect to my Apache server to download files.

    If I use this url: http://myserver.com/files/ete.ext - it works but if I http://myserver.com/files/ ete.ext it does not work.

    I have many URL as in this case I would like to find a solution, that encodes my url and then use my apache server to get the right file.

    Any help please?

    Of course it 'still the same problem', because nowhere in this code did you follow my suggestion. You're wasting time. I will save you some difficulties because it is obviously so amazingly difficult:

    URL url = new URI("http", "whatever", "fragment").toURL();
    

    30 seconds with the Javadoc, once you start. Instead of five days.

  • Encoding problem

    Hi!
    When i insert data into a database via cfform it works normally only until the text is English. If I submit Russian words via the cfform
    all the symbols turn into ???????????????? and stored in the database like ??????? When I insert non English characters directly via PHP Myadmin
    everything is ok. The server encoding is set to utf-8 as well as database (MySql5) encoding and the page encoding. I din't have this problem with Godaddy hosting but on my machine only. Any ideas
    how to fix it? I've tried everithing:)

    You said the JDBC connector to use UTF-8?  Who is the cause of this problem on MySQL?

    You must add useUnicode = true & characterEncoding = UTF-8 in your connection string.

    --

    Adam

  • Problem with accent in CF Builder (encoding problem?)

    Hello

    given that we have installed final CF Builder (1.0.0.271911), we have trouble with emphasis that all are replaced by small squares. It looks like a problem of encoding, but has not changed the encoding of our files, which were well displayed in beta versions of CF Builder...

    We present in the french language, so we have a lot of emphasis or other special characters, especially in our code comments.

    Is there a way to fix this?

    Thanks in advance

    Steph

    As the parameter to change the content encoding of CFML is global, it applies to all projects. So when you have a project that is encoded in UTF - 8 files do supre preference for CFML content type is also defined in UTF - 8, and when you work on a project with files encoded as CP1252 make you that you change the content type of CFML CP1252.

    Hope this has solved your problem.

    Thank you

    Sandeep

    Adobe ColdFusion dev team

    Blog - http://sandeepp.org/blog/

  • The disc encoding problems?

    Two distinct problems:

    1 / I reduced short 50i PAL widescreen video of CS4 DVD MPEG-2 using 'Quality to make Maximum usage' in HDV export settings. The sound was PCM. I used 2 Pass VBR, bitrate Min 2.8, bitrate Max 8, target 7 flow, M 3 frames, frame N 12, as in the tutorial of Jeff Bellunes. I burned it with ImgBurn. The disc plays perfectly in my DVD player, but will not play at all in two of my fellow gamers and games without audio in a third player. Why my DVD is not compatible with all stakeholders?

    2 / I transcoded a HDV PAL MPEG - 2 Blu - Ray picture 50i project, then there engraved on Blu - Ray disc using ImgBurn. The disc plays OK for a few minutes, and then suddenly at a time of transition, the sound goes completely out of sync compared to the image and the remains. The project plays perfectly in Pro without loss of synchronization.

    If anyone has any ideas for these 2 problems, I would appreciate hearing them.  Thank you

    What is the burner firmware?

    Tim,

    Many pieces of electronic equipment have a chip with a set statement encoded in it. This coded instruction set is the "Firmware". With many of these devices, you can "flash" this chip to update than the set statement. Sometimes, it comes to correct mistakes and sometimes to implement new features.

    In the case of a few pieces of hardware, this will remove the ability to say to read serious records. It seems that some BD readers and things like game consoles were paralyzed by the firmware updades. You don't have to worry about that in your case.

    Good luck

    Hunt

  • Encoding problems with downloads

    When I try to download the text or photos, I find myself with a series of numbers and letters. I tried the other encoding options, but it doesn't seem to help. What can I do?

    Hi Carollowther,

    What web browser do you use? As in, what program/icon you click to go to the internet and download this information.

    And, of course my next question would be, have you tried another browser or updated the version of your current? For example, if you use Internet Explorer 8, you can consider download Internet Explorer 9 and using them instead.

    To find the version, you want to click on the tab "file" on your browser and select the option that says "about...". »

  • BrowserField encoding problem

    Hello! Please, help me! I spent almost all day, but have had no success. My BrouserField is showing '? ' characters instead of the non-English characters.
    I need to get the Ribbon XML, analyze and display in the BrowserFiled.
    I use these classes:

    (1) WaitScreen - PopupScreen from the example of knowledge base

    public class WaitScreen extends PopupScreen {
    
        private LabelField _ourLabelField = null;
    
        private WaitScreen(String text) {
            super(new HorizontalFieldManager());
            VerticalFieldManager _vfm = new VerticalFieldManager();
            _ourLabelField = new LabelField(text, Field.FIELD_HCENTER);
            _vfm.add(_ourLabelField);
            this.add(_vfm);
            this.setBackground(BackgroundFactory.createSolidTransparentBackground(Color.BLACK, 225));
        }
    
        public static void showScreenAndWait(final Runnable runThis, String text) {
            final WaitScreen thisScreen = new WaitScreen(text);
            Thread threadToRun = new Thread() {
                public void run() {
                    // First, Waintdisplay this screen
                    UiApplication.getUiApplication().invokeLater(new Runnable() {
                        public void run() {
                            UiApplication.getUiApplication().pushScreen(thisScreen);
                        }
                    });
                    // Now run the code that must be executed in the Background
                    try {
                        runThis.run();
                    } catch (Throwable t) {
                        t.printStackTrace();
                        throw new RuntimeException("Exception detected while waiting: " + t.toString());
                    }
                    // Now dismiss this screen
                    UiApplication.getUiApplication().invokeLater(new Runnable() {
                        public void run() {
                            UiApplication.getUiApplication().popScreen(thisScreen);
                        }
                    });
                }
            };
            threadToRun.start();
        }
    }
    

    (2) RSSHandler - class auxiliary for analysis

    public class RSSHandler extends DefaultHandler {
        boolean isItem = false;
    
        boolean isTitle = false;
        boolean isLink = false;
        boolean isDescription = false;
        boolean isPubDate = false;
        boolean isGuid = false;
    
        public String[] title = new String[] {};
        public String[] link = new String[] {};
        public String[] description = new String[] {};
        public String[] pubDate = new String[] {};
        public String[] guid = new String[] {};
        String value = "";
    
        public void startElement(String uri, String localName, String name,
                Attributes attributes) throws SAXException {
            if (!isItem) {
                if (name.equalsIgnoreCase("item"))
                    isItem = true;
            } else {
                if (name.equalsIgnoreCase("title"))
                    isTitle = true;
                if (name.equalsIgnoreCase("link"))
                    isLink = true;
                if (name.equalsIgnoreCase("description"))
                    isDescription = true;
                if (name.equalsIgnoreCase("pubDate"))
                    isPubDate = true;
                if (name.equalsIgnoreCase("guid"))
                    isGuid = true;
            }
        }
    
        public void characters(char[] ch, int start, int length)
                throws SAXException {
            if (isTitle || isLink || isDescription || isPubDate || isGuid)
                value = value.concat(new String(ch, start, length));
        }
    
        public void endElement(String uri, String localName, String name)
                throws SAXException {
            if (isItem && name.equalsIgnoreCase("item"))
                isItem = false;
            if (isTitle && name.equalsIgnoreCase("title")) {
                isTitle = false;
                Arrays.add(title, value);
                value = "";
            }
            if (isLink && name.equalsIgnoreCase("link")) {
                isLink = false;
                Arrays.add(link, value);
                value = "";
            }
            if (isDescription && name.equalsIgnoreCase("description")) {
                isDescription = false;
                Arrays.add(description, value);
                value = "";
            }
            if (isPubDate && name.equalsIgnoreCase("pubDate")) {
                isPubDate = false;
                Arrays.add(pubDate, value);
                value = "";
            }
            if (isGuid && name.equalsIgnoreCase("guid")) {
                isGuid = false;
                Arrays.add(guid, value);
                value = "";
            }
        }
    }
    

    (3) CaptionScreen (screen with BrowserField I need to show the result of the XML parsing)

    public class CaptionScreen extends MyMainScreen
    {
        private BrowserField _browserField;
    
        public CaptionScreen(Application app, String section)
        {
             //....
             GetArticles getArticles = new GetArticles("http://" + _urlWithArticles, _browserField);
             WaitScreen.showScreenAndWait(getArticles, "LOADING");
        }
    
        static class GetArticles implements Runnable {
            String _url = null;
            BrowserField _resultBrowser;
    
            public GetArticles(String urlToGet, BrowserField resultBrowser) {
                this._url = urlToGet;
                this._resultBrowser = resultBrowser;
            }
    
            public void run() {
                // Try to download new articles and parse the answer
                HttpConnection httpConn = null;
                InputStream is = null;
                RSSHandler rssHandler = new RSSHandler();
    
                try {
                    httpConn = GetConnection(_url);
    
                    is = httpConn.openInputStream();
                    try {
                        SAXParser parser = SAXParserFactory.newInstance().newSAXParser();
                        parser.parse(is, rssHandler);
                    }
                    catch (ParserConfigurationException e) {
                        e.printStackTrace();
                    }
                    catch (SAXException e) {
                        e.printStackTrace();
                    }
                    catch (IOException e) {
                        e.printStackTrace();
                    }
                } catch (IOException ioe) {
                } catch (Exception e) {
                } finally {
                    try {
                        if ( httpConn != null ) {
                            httpConn.close();
                        }
                    } catch (Exception e) {
                    }
                    httpConn = null;
                }
    
                final String htmlArticles = generateHtml(rssHandler);
                UiApplication.getUiApplication().invokeLater(new Runnable() {
                    public void run() {
                        _resultBrowser.displayContent(htmlArticles, "");
                    }
                });
            }        
    
            // Method for html generation to showing in BrowserField
            private String generateHtml(RSSHandler rssHandler) {
                String result = "";
                if(rssHandler == null) {
                    return result;
                }
                result += "News";
    
                for(int i = 0; i < rssHandler.title.length; i++) {
                    result += rssHandler.title[i] + "
    " + "LINK
    " + rssHandler.description[i] + " "; } result += ""; return result; } private HttpConnection GetConnection(String _url) throws IOException { if (DeviceInfo.isSimulator()) { _url = _url + ";deviceSide=true"; } MyConnFact _myConnFact = new MyConnFact(); HttpConnection _httpConn = null; ConnectionDescriptor _connDesc = _myConnFact.getConnection(_url); if (_connDesc != null) { _httpConn = (HttpConnection)_connDesc.getConnection(); } return _httpConn; } } }

    It works very well (showing WaitScreeen, data download), but all characters not English shows as '?'
    I found a few discussions with the same problem (especially this one)

    http://supportforums.BlackBerry.com/T5/Java-development/how-to-show-other-languages-in-BrowserField/...

    and this one

    http://supportforums.BlackBerry.com/T5/Java-development/BrowserField-can-not-display-UTF-8-character...

    but I don't understand, how and where do I I implemented HttpConnection in my code.
    Please, give me advice or tell, how I change my code to solve this problem?

Maybe you are looking for