Call upon even better support for Unicode

Hello
Following some messages I have posted regarding problems I encountered while developing a non-English web application, I would like to call upon an even better support for Unicode. Before I describe my call, I want to say that I consider Berkeley DBXML a superb product. Superb. It lets us develop very clean and maintainable applications. Maintainability is, in my view, the keyword in good software development practices.
In this message I would like to remind you that the US-ASCII 8-bit set of characters only represents 0.4% of all characters in the world. It is also true to say that most of our software comes from efforts of American developers, for which I am of course very grateful.
But problems with non US-ASCII characters are very very time consuming to solve. To start with, our operating systems need to be configured especially for unicode, our servers too, our development tools too, our source code too and, finally, our data too. That's a lot of configuring, isn't it? Believe me, as a Flemish french-speaking, danish-speaking developer who develops currently a new application in Portuguese, I know what I am talking about.
Have you ever tried to write a Java class called Ação.java, that loads an xml instance called Ação.xml that contains something like <?xml version="1.0" charset="utf-8"?></ação variável="descrição"/>? It takes at least the double of time to have all this work right in a web application on a Linux server than it would take to write a Acao.java that loads Acao.xml containing <?xml version="1.0" charset="us-ascii"?></acao variavel="descricao"/> (which is clearly something we do not want in Portugal).
I have experienced a problem while using the dbxml shell to load documents that have utf-8 encoded names. See difficulties retrieving documents with non ascii characters in name The work around is not to use the dbxml shell, with which I am of course not very happy.
So, while trying not to be arrogant and while trying to express my very very great appreciation for this great product, I call upon even better support for Unicode. After all, when the rest of us, that use another 65279 characters in our software, will be able to use this great product without problems, will it not contribute to the success of Berkeley DBXML?
Thank you
Koen
Edited by: koenheene on 29/Out/2009 3:09

Hello John and thank you for replying,
You are completely correct that it is a shell problem. I investigated and found solutions for running dbxml in a Linux shell. On Windows, as one could expect, no solution so far.
Here is an overview of my investigation, which I hope will be useful for other developers which also presist writing code and xml in their language.
difficulties retrieving documents with non ascii characters in name
I was wondering though if it would not be possible to write the dbxml shell in such a way that it becomes independent from the encoding of the shell. Surely their must be, not? Rewrite dbxml in Java? Any candidates :-) ?
Thanks again for the very good work,
Koen

Similar Messages

  • System call support for unicodes

    Hi Solaris guru,
    One of my application (C,Solaris2.7) is required to work in multiple languages. This application makes use of system & C library calls. Is it possible for a japanese user to create file names in japanese? if so how will I able to use these names (let's assume unicodes) with standard system calls and library routines which consider file names has char *?
    I have noticed that Solaris provides wchar_t and (wchar.h) wide string library calls (Ex, wprintf, wscanf, wcstrcmp etc). are there any similar w-version of system calls?
    I greatly appreciate your help.
    Cheers
    Ramesh

    I don't know of a Solaris system call to copy files. I do know there is no such C or C++ standard library function.
    It's easy enough to write a file copy routine, however.
    C++ 4.2 is obsolete and no longer supported. It predates the 1998 C++ standard by a few years.
    But using old-style C++, here is a copy-file routine:
    #include <fstream.h>
    int copyfiles(const char* i, const char* o)
    ifstream in(i, ios::in|ios::binary);
    ofstream out(o, ios::out|ios::binary);
    out << in.rdbuf();
    return !(!in && !out);
    You pass it the names of the input and output files. It opens the files in binary mode, copies input to output if possible, and reports status by returning 1 for success and 0 for failure.
    Using standard C++, the routine looks like this:
    #include <fstream>
    bool copyfiles(const char* i, const char* o)
    std::ifstream in(i, std::ios::binary);
    std::ofstream out(o, std::ios::binary);
    out << in.rdbuf();
    return !(!in && !out);

  • Beta: Support for more languages

    We've added support for many more languages.  See the full list below.  You can access the beta by clicking this special link.  This link will allow you to use the site, same as before, but will also enable the new language support. 
    You can find additional supported languages in the footer menu.  Once you select your desired language, you can begin creating themes.  Try it out and let us know how it works for you. We look forward to reading your feedback and seeing new localized themes in Kuler!
    List of supported languages:
    Brazilian Portuguese
    Danish
    Dutch
    English (default)
    Finnish
    German
    Italian
    Japanese
    Korean
    Norwegian
    Russian
    Spanish
    Swedish
    Traditional Chinese
    Turkish
    Polish
    Czech

    http://na.blackberry.com/eng/support/downloads/download_sites.jsp
    go to this page and find a carrier for the country you want (here : Sweden).
    Download the Handheld Device Software OS and install it on your blackberry.
    for the installation howto, please refer to this discussion :
    http://supportforums.blackberry.com/rim/board/message?board.id=8300&thread.id=6807&jump=true
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Disappointing lack of support for Unicode

    I was very disappointed to find that Pages 2 still cannot properly support Unicode. TextEdit does a vastly better job of supporting Unicode. I can paste Unicode text into Pages 2 that I have already edited in TextEdit, but it cannot be properly typed in or edited in Pages 2 with the full range of Unicode. Some Unicode is okay, but not all of it. Absolutely can't be done! When are they going to get it right?

    does Pages 2 do
    the double-overstrike formatting that we discussed in
    re Navajo some times back? Pages 1, unlike TextEdit,
    wouldn't let you click an ogonek or acute accent onto
    a vowel with the other. (I was looking to make Navajo
    a- or o-with-acute-accent-and-ogonek.)
    I think so. I believe even Pages 1 was able to do that right after some OS update, but I can't remember now. Anyway I just tested Pages 2 (10.3.9) and made the a and o with the two accents using OptionShiftm for combining ogonek and OptionShifte for combining acute (US Extended Layout). Lucida Grande Font.

  • UDS support for Unicode

    Hi,
    I have a problem with retrieving Japanese characters from the Oracle Database.
    Here is the scenario.
    Environment
    I have an Oracle 8i database that has been configured for AL24UTFFSS character code set in the NLS_DATABASE_PARAMETERS. From UDS, some Japanese characters were inserted into tables of this database with �AMERICAN_AMERICA.JA16SJIS� as NLS_LANG environment variable on the machine that runs the DBSession.
    Positive result from [b]iSQL *Plus
    iSQL*Plus supports Unicode. And the results are as expected. I have a opened a session with NLS_LANG for the session being set to �AMERICAN_AMERICA. AL24UTFFSS�. I was able to retrieve the Japanese characters by a SELECT statement with no problem.
    Negative Results from UDS 5.0.15
    Understanding that starting with release 5.0 SP1, UDS offers full support of the Unicode codeset, I was expecting similar results from UDS client application. The DBSession was established with the NLS_LANG set to �AMERICAN_AMERICA. AL24UTFFSS�. (same as for iSQL*Plus). When I executed a small test application on a client PC with FORTE_LOCALE being set for �ja_jp.UTF8�, I only could see junk characters on the screen. I have tried even by setting �ja_jp.sjs� as FORTE_LOCALE. I am getting junk characters in all occasions unless I set �AMERICAN_AMERICA.JA16SJIS� as NLS_LANG environment variable on the machine that runs the DBSession, which I don�t want as I want Korean, Chinese and additional characters sets also handled properly leveraging the fact that UDS now Forte supports Unicode.
    We have multiple advantages if we can set a single NLS_LANG to support multiple languages. Apparently, there seems to be no problem with Oracle as I could retireve the charactes from iSQL*Plus.
    I appreciate your help in this.
    Thank you
    GS

    Hi,
    In the above description I told that we are using UDS 5.0.15.
    Forte says that starting with release 5.0 SP1, the UDS offers full support of the Unicode codeset .
    http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=finfodoc%2F67723
    Does it mean that I have the version prior the version that supports Unicode?
    Regards
    GS

  • Does Adobe even have support for subscribers?

    I have AfterEffects CC and after effects takes 3-5 mins to launch after double-clicking the icon.
    Constantly "connecting to dynamic link server" in Media Encoder.
    Exporting from AfterEffects to Media Encoder either takes 10 mins  and sometimes the project still won't show up in the ME queue, or ME doesn't open.
    These issues have been going on for better part of a year.  No updates have resolved the problems.
    What is a paying customer supposed to do?  Really, I mean professionals all over the world use these products and can't get support?  The online chat is not available despite the fact that chat hours are advertised.  and the 800# to call them is missing the last digit!  1-800-xxx-xxx  instead of 1-800-xxx-xxxX.

    Hi RZ Performa,
    Can you click this link: Contact Customer Care
    Then click the big blue button.
    Do you see the phone number now?
    Thanks,
    Kevin

  • [Feature Request] Better support for new buttons in JUNavigationBar

    In my project I use a home made sub-class of JUNavigationBar, which contains some new functionality apart from a new button as well. This button allows me to refresh the currently selected row.
    However, since I added this button though a simple this.add(), some of the functionality in JUNavigationBar may get confused.
    For example, when I have removed some of the standard buttons but left my own button in place (setHasXXX()), the component index (calculated in JToolBar) and the array index for the buttons in JUNavigationBar may not match. This occasionally causes an ArrayIndexOutOfBoundsException.
    In short, what I'm asking for, is a better way to manage buttons on JUNavigationBar. Even making the array of buttons and related methods and such protected in stead of private (so that my sub-class could handle it) would be a good start.

    Hi Arno,
    I had a similar issue with trying to create a Nav bar with dynamic content. My solution was to leave all the standard buttons in place and to use setVisible(x) to make them appear or not as required.
    BTW have you noticed that rollover behaviour isn't consistant ie works for FIRST/LAST etc but not for FIND/QUERY.
    Regards
    Andy

  • Database support for unicode

    Hello, I am in the process uf upgrading database installation scripts so they will support Unicode. I just want to clarify that by changing the Character set to say for example AL32UTF8 and the National Character Set to UTF8 the database will then be able to support Unicode. Do I need to also change all the VARCHAR2 and CHAR2 data types to NVARCHAR2 and CHAR2? When changing the character sets do the database then default to bytes instead of characters for multibyte character storage? Thank you.
    -- David

    You would not want a situation where some clients have a database character set of AL32UTF8 and are storing the data in CHAR/ VARCHAR2 columns and some clients have a non-Unicode database character set, a Unicode national character set, and store their Unicode data in NCHAR/ NVARCHAR2 columns (I'm assuming from the context that you are some sort of application vendor here so that different clients are trying to run the same application). That would massively increase the complexity of your application code and make testing & supporting the application substantially more difficult.
    If at all possible, it is preferable to change the database character set to Unicode for existing databases. This may involve exporting & importing some or all of the data or it may be possible online (there is a chapter in the Globalization Support document that covers character set migration and the various options you have).
    Storing data in NCHAR/ NVARCHAR2 columns should generally be a last resort (unless you really know what you are doing and want to leverage different Unicode encodings). You are likely to cause yourself all sorts of headaches trying to support national character set data types.
    Justin

  • Customer request: better support for Flash-heavy web sites!?  Feasible?

    The company I work for (a SUN partner) is currently engaged in a desktop virtualisation project at a customer who is in the health care sector. Of course Sun VDI isn't the only thing they have been looking at. But so far we've always come out on top.
    PanoLogic and their "Pano Cube" thin-clients were looked at but never really considered. The argument being "Nobody is using that!" and they don't want to play "Star Trek" and "boldly buy things nobody has bought before". So it was "Thank you and bye bye PanoLogic". However ... PanoLogic is on their radar now and they might still go back one day ...
    Next up was VMware View. They didn't like what they saw. So for now they will keep their ESX and vSphere servers but VMware View is out of the game for now.
    So right now there is still us with our Sun VDI / Sun SSGD offer and a competitor with their Citrix offerings. So far we've always managed to tip the balance in our favor.
    This Wednesday though we had a few of customer's managers visit us. They wanted to see a Sun VDI 3.1 live demo. All was fine, all was well, and we had the impression that they were so close to giving the "go ahead", when one of the pro-Citrix guys opened two web sites in his VDI demo session:
    http://www.adiacom.ch
    http://www.2advanced.com
    Both sites are extremely extremely Flash-heavy.
    And of course: The performance was sub-optimal. We were running this on a Sun Ray 2, 1600 x 1200 pixels. Even though the sound was tip top in both the Windows XP and in the Linux sessions (they admit that in all the other products they have tried so far the sound was choppy or there was even no sound at all .... ) the video was slightly out of sync. And the web site "2advanced.com" took too long to load.
    So now all of a sudden the ability to play these two web sites "tip top" on a Sun Ray 2 is THE killer argument for them. It doesn't even matter that all other solutions they have looked at can't show those two web sites at all, now it's all of a sudden that Sun Rays and Sun VDI just "aren't good enough" at playing those two web sites.
    Customer is king. Customer is always right.
    So ... anyone here from Sun have any suggestions how we might improve performance of those two web sites inside the VDI sessions? Is there anything we could tweak and tune inside VDI 3.1 to get the max performance out of our setup?
    Or are there any products in the pipeline like new Sun Ray clients with improved multimedia performance that I could tell them about so we could keep them interested in Sun's products ... ?
    Edited by: DJ. on Oct 30, 2009 6:22 AM -- typos corrected.

    Greetings oh Master :)
    We don't have flash acceleration for LinuxI know. And yet the "adiacom.ch" web site performed better on Firefox & Ubuntu than on Win XP-SP3 & MSIE 8.
    only XP and W2K3.I know
    Are you using the MS-RDP severSun VDI 3.1 ... I get the VDI login mask, I login, I pick a Windows XP desktop from the available pools, and Windows XP appears. The desktops are provided via VMware vSphere.
    viewing the site via IEUnder Windows XP, yes.
    and have the Flash acceleration bits installed?I remember installing various multimedia bits that can be found in the "Supplemental" sub-directory of the SRWC 2.2 ZIP file: "SunMMR" and "SunWinUSB". But now that I look at the web page you linked to I am a bit confused .... Did I install an old version? I will have to check that again and make sure this stuff is really really installed.
    Thanks for that link!

  • Support for Unicode Strings

    Hi
    I was wondering if Berkeley DB supports storing and retrieving Unicode Strings. (I guess it should be supporting it but just wanted to confirm) and if yes what encoding does it use.
    Thanks,
    KarthikR

    Again, I'm not an authority, but I believe so, yes. From what I've read, BDB only knows about "data," which basically means a sequence of bytes. Thus, in C you could define a struct that contains your specific schema for keys and values, but you'd just write the raw data behind the struct to BDB, which doesn't care or know about your particular format.
    So you'd probably have to convert your unicode string to a byte sequence in some way or another. UTF-8 is the first option that comes to mind, but maybe UTF-16 or UTF-32 (if you really don't care about space) would be simpler to implement.
    Hope this helps,
    Daniel

  • 2.1 EA2 - Better support for Schema jumpers (nice to have)

    Hi!
    If login as a user with DBA privileges, jumping to a another schema and let say rebuilding an index - this will give an error, due to the fact that SQL Dev does put the current schema in the SQL - example:
    Login in as a user: UserWithDBA
    Go to Other Users
    Pick a schema - let's call it TEST
    Try to rebuild index - SQL Dev generates this SQL:
    alter index "Table_Idx" rebuild online
    This won't work!
    Should generate:
    alter index "TEST"."Table_Idx" rebuild online
    This can be found in various functions within SQL Developer
    -Kurt
    Edited by: sfeokub on 2009-11-22 01:53

    no idea about any of these things all i want to know is if it fixed the txt sound not working and what on earth is the 2 txt sounds mean?? im assuming if u dont look at ur txt it will sound again???, ive checked 3g its still sh1t here even tho im in a huge 3g area apparently but i didnt have many probs with last update so who knows

  • Better support for iPhone Retina display apps

    The iPad display is higher resolution than the iPhone 4. It would be nice if when I use an iPhone app on my iPad that is built for a retina display if it was not downscaled to a non-retina resolution. This would make the apps built for the retina display way more usable on the iPad.
    Seems like an easy change. I'm actually surprised it was not included as part of iOS 4.2.1.

    Again, that's not how it works. Apple didn't really have to do anything for the iPhone 4 because they're the same screen size. All they did was double every pixel for the iPhone 4 which is what you see when you use 2x mode on the iPad. If the iPhone had a 10" screen, even with the retina display it would look just as blocky as the iPad because of the screen size.
    Did you not notice the resolution for iPhone 4 is exactly 2x that of the old iPhones? 640x960 vs 320x480. They didn't do anything special with the iPhone 4 to make the old apps look good, the screen size being the same is what made the difference.
    this is all in reference to the iPhone 4 displaying apps not optimised for the retina display.

  • Re: Even better use for RMB - use to show equivalent scriptcommand ..

    Dirk,
    Can't help with the RC, but the fscript command to remove a partition from
    a node is UnassignAppComp node_name [component_name]. You need the
    component name if it isn't the "current" component.
    Don
    At 12:35 AM 11/21/97 +0000, Dirk Haben" (Tel +61 (0)3 6230 5300 wrote:
    Me Again,
    I'm in the process of writing a little fscript to partition an applicationfrom a DCL command.
    >
    Wouldn't it be nice if I could go into Forte (GUI) and right click on theaction I want to perform to find out what the equivalent script command
    would be?
    >
    Still looking for the command to remove or delete an application from amodel PC node in fscript for example.
    >
    Anyone know?
    Thanks,
    Dirk.
    ============================================
    Don Nelson
    Regional Consulting Manager - Rocky Mountain Region
    Forte Software, Inc.
    Denver, CO
    Corporate voice mail: 510-986-3810
    aka: [email protected]
    ============================================
    "The good thing about drawing a tiger is that it automatically makes your
    picture fine art." - Hobbes

    Dirk,
    Can't help with the RC, but the fscript command to remove a partition from
    a node is UnassignAppComp node_name [component_name]. You need the
    component name if it isn't the "current" component.
    Don
    At 12:35 AM 11/21/97 +0000, Dirk Haben" (Tel +61 (0)3 6230 5300 wrote:
    Me Again,
    I'm in the process of writing a little fscript to partition an applicationfrom a DCL command.
    >
    Wouldn't it be nice if I could go into Forte (GUI) and right click on theaction I want to perform to find out what the equivalent script command
    would be?
    >
    Still looking for the command to remove or delete an application from amodel PC node in fscript for example.
    >
    Anyone know?
    Thanks,
    Dirk.
    ============================================
    Don Nelson
    Regional Consulting Manager - Rocky Mountain Region
    Forte Software, Inc.
    Denver, CO
    Corporate voice mail: 510-986-3810
    aka: [email protected]
    ============================================
    "The good thing about drawing a tiger is that it automatically makes your
    picture fine art." - Hobbes

  • Unicode Support for Brio 8

    <p>Does Brio 8 (or any of the subsequent Hyperion versions)provide support for Unicode characters. If no, how do wetackle reporting from databases containing non-English characterslike German, Japanese etc. Thanks..Cheers..</p>

    It's not what you describe, but here is more detail on what I'm doing.
    This an example of the value string I'm storing. It's a simple xml object, converted to a unicode string, encoded in utf-8:
    u'<d cdt="1267569920" eml="[email protected]" nm="\u3059\u3053\u3099\u304f\u597d\u304d\u306a\u4e16\u754c" pwd="2689367b205c16ce32ed4200942b8b8b1e262dfc70d9bc9fbc77c49699a4f1df" sx="M" tx="000000000" zp="07030" />'
    The nm attribute is Japanese text: すごく好きな世界
    So when I add a secondary index on nm, my callback function is an xml parser which returns the value of a given attribute:
    Generically it's this:
    def callbackfn (attribute):
    """Define how the secondary index retrieves the desired attribute from the data value"""
    return lambda primary_key, primary_data: xml_utils.parse_item_attribute(primary_data, attribute)
    And so for this specific attribute ("nm"), my callback function is:
    callbackfn('nm')
    As I said in my original post, if I add this the the db, I get this type error:
    TypeError: DB associate callback should return DB_DONOTINDEX/string/list of strings.
    But when I do not place a secondary index on "nm", the type error does not occur.
    So that's consistent with what Sandra wrote in the other post, i.e.:
    "Berkeley DB never operates on the value part of a record. Values are simply payload, to be stored with keys and reliably delivered back to the application on demand."
    My guess is that I need to add an additional utf-8 encoding or decoding to the callback function, or else define a custom comparsion function so the callback will know what to do with the nm attribute value, but I'm not sure what exactly.

  • Limited Support for Time characteristics 0FISCPER/0CALMONTH/0CALQUARTER

    The time characteristics 0FISCPER/0CALMONTH/0CALQUARTER are converted into Character type value in Universe which results in following problems on switching to Webi based reporting from current SAP BI front end tools.
    Problem 1: Sorting does not work correctly using the Key Value or Description as both are being treated as Character values. While setting up the Custom sort sounds like a workaround, the sort list has to be generated for all possible months/quarter/year combination that will be seen in the reports. Not a good solution when business analysts has to build their own reports from Universe.
    Problem 2: Using range selections (E.g. between, greater than, less than etc) in Universe conditions/prompts does not yield correct results due to the same fact that all values are treated as characters. Possible workaround is use this kind of conditions in BI query variables directly. But, this does reduce the flexibility of selections a lot, especially when users are used to simple ways of making range selections in BEx.
    Problem 3: keying in the prompt values for these characteristics/dimensions (both Key and text) is very cumbersome due to format issues. E.g. 1/2010 is no more recognized as valid fiscal period. You have to enter key value as K4/001/2010 or Text value JAN 2010 or January 2010 (based on text selected in query/infoobject). Only way of simplifying user input is to use LOVs and let users always select from LOVs. But, the users lose ability to simply key in values.
    Problem 4: The default LOVs generated for Fiscal period takes values from the master data and hence might show all available fiscal periods including special periods 00,13 thru 16 etc. even though they may not be relevant to the underlying report (e.g. a Sales report). This can confuse users who are not used to seeing these periods before. Possible workaround is to apply filters on LOV using condition and in some cases this should fix the problem.
    While some of the workaround for above problems sound acceptable (3 & 4), the others are not in my opinion(unless there is a better workaround anyone else have). My question is to experts from SAP is, can we expect better support for these objects in future Service packs? If not, then perhaps we need to move away from using this objects in reporting and use 0FISCPER3, 0CALMONTH2, 0CALQUART1 in combination with 0FISCYEAR/0CALYEAR to overcome above issues.
    Though  this can mean  (1) good amount of backend changes to include these Infoobjects in underlying Infoproviders, if there are not present already (2) User training to explain them to use these new time char fields instead of the ones they are already used to.
    I'm fairly new to BO and might have overseen somethings. I have already searched the BO forum related to this topic and did not find any satisfactory answers. Any input on this is greatly appreciated.
    Thanks & Regards,
    Sree

    The issue is that these InfoObjects are not Data Type DATS in BI, they are NUMC and PERI7. Only InfoObjects of type DATS will be converted to Date format in the BO universe.
    Workarounds:
    - instead of using these time characteristics to filter results, consider using transaction dates, such as posting date.
    - create a customer InfoObject ZFISCPER which is a transformation of 0FISCPER to DATS data type.
    - create a custom variable in the WEBI reports which looks at the key for 0CALMONTH and only considers the first 2 characters which should identify the month (e.g. 01 = January, etc.). You can then sort on this and it avoids the year concatenation issue (e.g. JAN 2008, JAN 2009, JAN 2010).

Maybe you are looking for

  • SUP Monitoring with Solution Manager 7.1

    We are currently on Solution Manager 7.1 SP6. We currently have Sybase Unwired Platform system setup under managed system and technical monitoring in Solution Manager. We have followed steps in note 1762741 but we are receiving only high level alerts

  • Cost of Goods Sold and Inventory Value

    Hi I am looking to setup KPI for Inventory Turns in BI. This needs "Cost of Goods Sold" and "Inventory Value" for Orders for a Plant. I wanted to know if this information is directly available in any standard extract or do I need to write a Custom Ex

  • PDF quality issues on Adobe Reader for Pocket PC 2.0

    The quality of PDF's rendered by Adobe Reader 2.0 PPC is awful when compared to Adobe Reader LE. We are running it on HTC X7500's with a nice 5" display, but you have to zoom in +5x to read the text on our parts manuals, where as LE renders the same

  • Quality of imported LiveType .movs

    Why is imported LiveType low quality when I input into FCE, when it is fine before importing and opening it in quicktime. It goes really grainy once it is placed into my sequence? Have I got the settings wrong. I chose the Apple Int. Codec and  HDV10

  • ORA-03135: connection lost contact - all apart from one working machine!

    Two servers, both with Oracle 32bit client 10.2.0.3, both with identical sqlnetora, both connecting to same oracle DB using same credentials. issue identical SQL from sqlnet client on both machines - one succedes after 60mins with the resultset retur