JNI: printf displays strange characters

Hi,
i'm tryng to understand how JNI works...
I've writen a simple class in Java and i'm trying to pass a variable to a native method ...
This is my java class
public class Encrypt {
     static {
          System.loadLibrary("endecrypt");
     public native void encRec(byte[] p1);
     private static void encryptFile() {
          String p1 = "12345678";
          new Encrypt().encRec(p1.getBytes());
     public static void main(String[] args) {
          encryptFile();
}This is the native C method
#include <jni.h>
#include <stdio.h>
     JNIEXPORT jint JNICALL Java_Encrypt_encRec(JNIEnv *jenv, jobject jobj, jbyteArray p1) {
          jboolean isCopy = 0;
          unsigned char *pwd1;
          pwd1 = (unsigned char *)(*jenv)->GetByteArrayElements(jenv, p1, &isCopy);
          printf("[log - ENCRYPT]...........");printf("\n");
          printf("[log - pwd1] "); printf(pwd1);printf("\n");
          (*jenv)->ReleaseByteArrayElements(jenv, p1, pwd1, 0);          
          return 0;
     }and this is my bat file
javac Encrypt.java                                                                               
javah -o encrypt_jni.h Encrypt                                                                     
cl -IC:\j2sdk1.4.2_05\include -IC:\j2sdk1.4.2_05\include\win32 -LD Encrypt.c -Feendecrypt.dll    
java Encrypt                                                                                     
pause                                                                                             when i run it the result i get is:
[log - ENCRYPT]...........
[log - pwd1] 12345678@&#9787;&#9787;The question is: What are the strage characters at the end of the password? What am i doing wrong?

Your original byte array just contained the characters "12345678" and
you were just lucky that there was an ASCII NUL (one ell) character
in the vicinity before the entire thing dumped core against you.
Using C, a string is defined as a bunch of ASCII characters terminated
by a NULL (one ell, all bits zero) character. Java uses a different approach:
a byte array knows what its length is. The decision is up to you: supply
a NUL byte to the C stuff for convenience or use the supplied length
from the byte array when you're in the C part of the JNI barrier.
kind regards,
Jos

Similar Messages

  • Mac Mail is displaying strange characters

    My Mac Mail is displaying these strange characters on a number of seemingly random emails from people. However, when I copy the message and paste it into a word document or the internet browser address bar it converts these "letter A in a box" characters into what the words actually were. But this is a hassle and I'd rather just be able to read the text directly in my mail application... Thanks for the help.. hopefully it is a simple fix.
    http://i10.photobucket.com/albums/a127/bleed0black/Screenshot2012-07-20at115951A M.png

    You're very welcome.
    That's a very common problem
    Glad you're all sorted now.

  • Mail displaying strange characters

    Hello
    I was previously using Thunderbird, but when I saw how nice Mail is, I switched over. Now I am starting to rethink, because it's displaying some very strange characters without reason. What could be the cause of this? Here is a screenshot (I blurred out people's names): <img src="http://img.photobucket.com/albums/v297/davidjohn/miscellaneous/Picture2.pn g" border="0"</a>
    MacBook Mac OS X (10.4.8)

    You're very welcome.
    That's a very common problem
    Glad you're all sorted now.

  • Adobe Reader displaying strange characters

    Hello! I am writing my uni task. For that I downloaded a .pdf document from my university, which has text boxes for me to fill in. I do not know how/with which program this file was created. I first tried dealing with it using the Windows 8 Reader app. Several times, when I switched from the document to the Desktop and back, all my text was converted into strange characters. I started saving the document before switching, and this seemed to solve the problem at first. But then at some point I saved and closed it, and when I opened it the next time, only the box I modified last (with an essay) was converted into strange characters. When I copy it somewhere, the text does not appear. I tried opening the thing with Adobe Reader. It does not convert anything into weird symbols, but the ones from the previous time remain. Is there any way I can get the information back?
    Here's the whole 'strange character' bit:
    ý«†z´y,o/>§™I$2ž|‘M¥8"Žb2;¸[áÔeìb⁄æÉ÷ײݵßScÄ−¹<¹˚ëÞG+VW5²!1°%ZÔ;‘ƒÀ¤|ªł.W‚nb·Ü`ø}=†mû⁄À¦• ¸ßÁºþÜ”ãØˇÂ²ÑrŸ–)·ô†+Ù˘¬ì¶4<Àqc.®ªSG”˛¹„+ö:@€‚Å˝å²M«ÚŸ/E¼¿flüUÌÈü…qªÉ³pÉ2ôù$fiÍævflÓrîsƒr6@_ 8;¢DîuAÑ˙Ô¨ÿ,s<“Ñ·Ü䙟tàZ,Ö½¨#ee˚˛üBwê!MŠU¸Ÿ€¹*øƒN‰×{hø?;Ô·Î'k$;Í÷Qýw~&—ł„Aå”MTì¹⁄¿tË@˘/J ÿóS˝
    ý_l'Di
    õ#J³ß0O8Á@žöÃfB%Ôî{
    Ûõz8Á&´ØëU^¤mDèüV½â~žË@ØÀ*Ý−›D‘–l@šTÁ–U-§þR˘
    çU ió¦(fH€RBRK%nÁ0þ$½Œ‰¢@˛x§{±'QRÕéKŵ«uÌ2>å΂úëoNH¢-c|d‰AOÓÎgS×eGzł⁄Dd¢&łEyþ•½w;;"÷+B‰
    Á ‹rn+8‰|JeÐ˙Š6Âî÷;x^¯~j⁄TÓa¦O˙qé=:*v¬à^!·þá¡®SL=Ìáh)¬øxthj™ŽÁ–½…¬Ü‚łþ ÇÌÌ„¶"KÉ4$ô‰'š−°íŽùÜÑHÜ>o¶y%˛U(Í÷f–wøÙ±⁄[¢ý [Å‚Œ‘ß?˛−dĹ–ï4¾&ôzÚÃSåÁ¡Ëä¡¡DG¡ŁøO7øã|ò‹áï…Q³Ê;˚@w|¤C¡¨ÝôÏŽ´ÎgÙ¿ö—‡óÊ—F¼ñ}¢¡ù¹ê˜Š˜Û›·«íÿ `Qùж×g”˛Ï;–úÍ‹OU'†ah„y’‹èa´ŸÏ°èwP׃—‚
    üp˝qŸ±æŸøŒ¼ýìł˝‡u‚dSf0ùÉ\FŽ˛¤mW;ôͤäühUÙv˛˛¯aˆý1Ø`âÇ˝òX>&
    éÝߊɉ˛>á–·ÈýùÒ…ªŁ =fi‡llv¸èøÜ÷~ûº÷0flÁMndejŽf-&°H.¥æµÁ⁄'¤zJÚª6•ç9¿öÝd-iðcÐöz›
    »}g¤ł)4¡PŽXüª¤ÌT«¦Èl©œºG£§3êêH˜-]ûß˝%ëÐh›WÔ˘˜B–Ùî!)CÃäÁ?P–»˝Û¥¬|T‰ÆÈà⁄A*(é2QÓJx™K?ÔöGwìŒÝz HèÓT•²‹ÿf~SzúúDQ]ü“¥‘fitú¸E_afN"³~/flõ˘§˚Þ§²UÉùtN&º¬tÆ#uzMP=<÷û‹˜¸ù−HùS>šˆ]1]¨—˜ÖhÌŁ\°rv˘þ
    ‚ãÓ»¬‘ŽVÏ°ÕL0H90chÃM®yb¶§J•V"çµÅ/”€Ðk⁄iÑNÚhd@£|ös‚÷Þ‚´k§)äoıÃLöÒ5ɺ°›îEÀ‚Ä–ç±]ꚧýE›=q¸÷ÿü žDe¾xüı¡:&˚B¢‰jÈMö6»ł¬6 /å•‚ÚÿÊ Ó±t'ùT㓵ëS
    ~J[DÜiîœ[þpéjDævø@ÊäsߎÈØïÅàUÛÏwå&¼t−©•ır
    —õ¹íOòꤥ²`÷LZKrd€J6ÄÎÛÅ−|W0Nš¸@…r«qt’liÑçÌY’æÙ!“Sâ<†Æh‡z|4Aš*£fl˜ôñsÁʘl±W²
    ï¦ncÓ,»ÒùYµÛ™'T©Ì727˝^2?rNË˚Ç¡¿¢+ßu–H2e¸©CB#˚ÁºƒâÇÅÖK−"2ÍiŸRO0 ›^"˛"−âÉ×íôòCBí[aõãÑ,¶^³Nh–S¨íï?Øł9r\¦7
    kg‚Á¤0?t Éà(Ô$>x·k(™Š°µ˘Xòþ÷£−»á€IâyòLl3DõËò0TËÌåk–fi¶åA3Õ¨gˇÿüf‘±yùÈ{¦›—šÃ§®ãI;ûwhȘ4ZUdv-y‚t|jrÆÛ +/ÞŁ(kł¬<¡e:˙O[Ê'–6ö¨M¦«ïæÈž§$4Nœ9Ú¢½òìóvàfl˜÷§Ñflgd¦³N³í[´Ì%Q5r˜Ýl
    ÛpXøïåwü—Ö²¯ê⁄ûiıÎÖ„&´ø¥º¾¬(m‘iAŽéü_œé°&LøÊhÚü³œcÞ÷hR™ÌIª3U7áõüXT¡`s¥˚“ˇÂŽ
    Î@ÔrÞ+dµ˝LA>]t;pˆZע—Øi'çÞŠ¿
    kª"~ýl5fi,ÿ6uP&‹ã+‚¨(̯K_è“å$ÍÁº#F¤Ö¦ø˝ÿµuX6_−
    Ëp¼Me‹¿ùöÖ°bS<¯¥P©ú½éÀ
    î e½íšND¿“N®”Z(ß(j%;=Há–®† A.fl*
    9Ï−²È§™,ÐS2AÒÀ!ÇÜMRœê‰G£þÜàOB˙_⁄˚7‡¶»²j÷ÅÚe½*x¢˝¸‚©nSŸ!ÃùGtÕP7&ł½R7(ýñ‹ÿAæ¦?|uÐWƒ˜¯¬BHj`êf Ì]3Ýßäîe˛
    qË}óÉSŁ¢S“†#å*‹3I@†®ï#eVç>0×sI›åRþPuÙ'sèf§È'™BV͵ƒ˘vÅ¢ùÁÍu/¬A¬3`¶¥ô*®ŽùÕ”£‡a7ˇlˇoÜ−
    zÂÏBÁËmC˘ß×z{#lfl⁄õmł?íTM¥u¸š\L†áFı!-½šÀ‚ž¦AÅŽdZqê‰)Iü"˘š™Ñظ¸<Šıv¢U',)åX#−ßÅ\YƒÿŒ¶¥}ÏÄÚ£ØÍ ökC›fìLJ¶u÷¹öØêX9XWtùã,š"ÓxòÇô„¼N!ó:[ªˆ³ï•Łõ±^çx#δsLe¤bY‡#Y׸©åFÌîlËCdàåºT-)K¸È>H9”Ñå|nå $fi°ûÄ$å4k’#˚r›Äîæ²è§fi:ZJEëä´ ý‘byŠ+w
    þz“Ç
    Éúñõ˘iMS¦C˘¸«.¶ÄµÚž431üPÐ¥{yŽó¯*O
    +ºiÝ7'òM€Fzä^GçÖºJ²™#E⁄Øwý˘P0-\»ˆêvhǪœ>Ð˘m˝íÜëŸG½#«?ÊÕeqIñ¬c`e
    [ŁHD˘W‘»˝žŸûøJÍŽ+UVÿGJ²îs~ƒ´õc”{úoL‹
    3„XŁ?`•ïâ—ıaDJ?¥cå2)Ï8^žVA"?MÀ0z±¼ä[°CwP%µ™8;kŠ/IÍ:2/_kNË˚Žþ"Ö²äÕºÒg£WjÆd$ÄMÑõe•;?ò[hÏ+PD˚ à×Óô¦¨àÚÄN†YPcЫ)#×ÈÔÙL˜7]ë%PÞÏ:p2ªıÚô;fl·¤˘íBŒP¬q_öx¤‡d™flйzCŽ7ÿbò×iqó ´!ø¡Šzh¯1Úr„£ı˛A1>=/õ#w㮈
    üqß]‚˘a¤óßäUÌå*[:/@†yóBÀ˙ŸÒtx1®PŒ!Ïóc?›‰‚ÉÀkt[§m§a7z¾ˇö¤¥ë/è€1˛,JlQ…¼S;h(§f~@RÐ,ûÈ(−ön.Hq« ÍØ−¶ÞÁNØÔ_T”êDœwü˚Û.²\>—NŽr(Q¡OÌ¿¬?-kÓDO!ps˚¹Š?¥«T¦¾ø:õ+¬!˚G−×&¡pãÅ°-|Ê??ŁÂèÇžÉÄ¢m¥\a˛ME5c Q_&Ÿ.#/ÊKq:’HZb%\Òµ3ÀÌv˜stÆé@ͤCžzjú4Þ¢f ðH'g6¯¨ßËžÿ®tŸ}4:h\$‚lå3E_.¨%Ùx3FxGJF†ı˘~GþłûZ@P¦é9ÓÉi€çÊ ›µÖÔZúO~Ì×Ж;vÔáwQÖ1Ãì⁄†ÿ>i˚“ò0þ(ÖıƒN)xæA§©¾

    The document: https://files.acrobat.com/a/preview/71fb561e-78a2-44ae-8bd6-9df6520e9d1b
    The box I was talking about is the very last one.
    The Adobe ReaderI started using recently is version XI; the one I used when I started editing the document was Windows 8 Reader app by Microsoft, version 6.2.8516.0.

  • Google search displays strange characters before search, firefox 3.6.7, ubuntu 10.04

    I get these strange characters when I go to Google search using Firefox 3.6.7 and Ubuntu 10.04.......see below
    ᎢᏳᏍᏗ ᎨᏒ ᎣᏲᎲᎢᎠᏑᏰᏍᏗ ᏳᏍᏗ ᎠᏁᎵᏔᏅ (These characters are on the Google search page before I search and below search bar.
    strange characters below:
    ᎾᏍᎩᏯᎢ Directory ᏚᎾᏓᏡᎬ
    What is going on....It reads OK using Chromium. I can't read anything. I am using Firefox 3.6.7. My View....character encoding is set to :
    Western(ISO-8859-1) and auto detect "on"
    == ?

    Just to update this topic if anyone else has the issue. I've fixed it by manually amending the following setting in about:config -
    Preference name: intl.accept_languages
    Value: en-gb, en
    If you're in the US you'd use ''en-us, en'' instead.
    I then re-ran Firefox Sync and now on the Windows machines this value shows up as User Defined instead of default and this is now kept when syncing (I'm assuming the default values are not included when syncing preferences, for obvious reasons).

  • Strange characters displayed in xcelisus

    Dear Experts ,
    While loading data into xcelsius using universe Query , the arabic data is displayed as strange characters .
    could anyone tell me how to get the data as it's in arabic format ??!!

    Hi,
    have all the necessary code pages been installed on the client and BW box ?
    Ingo

  • PXI wont boot past BIOS, strange characters displayed (possible HDD failure)

    I've just acquired a PXI-1042 with a much older 8186 Controller which does not boot past the BIOS.
    Once powered up the sytem recognizes the HDD and available ram and even does a ram check but then it displays some strange characters; what appear to be "AC" and two dos smiley faces.
    CMOS battery has been changed and system time has been updated as well. HDD is recognized in bios and is selected as the boot priority.
    This could be a bad HDD since I know nothing of functionality of this PXI, other than its "hardly been used".
    Just figure I'd ask around before going through the trouble of purchasing a new drive through IT.
    See attachment for screenshot.
    SCXI- 1000 Chassis w/ 1346 adapter
    PCI 6281 DAQ card
    SCXI- 1520 Bridge Board w/ 1314 Terminal Block (x2)
    SCXI- 1180 Feedthrough Panel w/ 1302 Block
    Signal Express 2014.
    Win7 Enterprise
    Attachments:
    PXI.jpg ‏34 KB

    It's possible the drive is fine, but just does not have an operating system installed.  If this PXI-8186 controller originally shipped with Windows, it may have an OS recovery partition.  This KnowledgeBase article is a good reference:  Hard Drive Recovery and OS Installation.
    If you want to check the integrity of the drive itself, here is another relevant KnowledgeBase article: Hard Disk Drive Diagnostic Tool for PXI and PXIe Embedded Controllers.

  • Fonts displaying in strange characters in Email and Web Browser

    Myself and my creative director (on two different computers) are seeing strange characters in our email clients and web browser. He uses Entourage for Email and I use Thunderbird. We both use Firefox for a web browser.
    This does not happen with every email or with every web page, what could it be?
    View a screenshot here:
    ftp://www.hanlonftp.com/upload/fontProblem.jpg

    Clear out the font cache files from the hard drive with Font Finagler. Also, if you have the fonts Helvetica Fractions or Times Phonetic on the drive, delete them.

  • Arabic text displaying as strange characters

    When I copy Arabic text from MSQL 2005 to excel 2013, it is showing as strange characters.
    But there is no issue when I copying  Arabic text to excel 2010
    How to fix this problem.

    Hi Dungun,
    Thanks for posting in MSDN forum.
    This forum is for developers discussing developing issues involve Excel application. Since the issue is relative to the end-user, I suggeste that you get more effecitve response from
    Excel IT Pro Discussions forum.
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thanks for your understanding.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Excel shows strange characters over Remote desktop

    Hi,
    Experiencing this weird issue were when I  RDP to my computer , the characters in excel sheet display weird characters
    For instance the letter A looks squished
    When opening the same excel sheet locally, the normal text is displayed.
    Repaired office, looked for updates and nothing seems to fix it.
    All your help will be greatly appreciated.

    First of all.   I did not say we only had the problem with Server 2008 R2.   We DO NOT have any problem at all with Server 2008 R2.   The only problem is when using RDP to run an application on either Server 2003 or Server 2008.  
    That means the original version, the 32-bit version of Server 2008.
    We have just tried various clients.  The clients tried include XP, Win 7 and Win 8.1.   On Win 8.1 the RDP version is 6.3.9600.   On XP the RDP version is 6.0.6001.   I am not sure which RDP was being used on Win 7.
    All of these clients had the same problem that I am posting about.   Strange characters.   They almost look like an incorrect character set.
    The very same application that is giving us problems via RDP was tried by running directly via the LAN and WAN.  When this app is run in this manner everything looks fine and there are no strange character issues.  Just in case anyone wants to
    suggest that we run this app in that manner, forget it!   The reason we run using terminal services is because the performance is way too slow of the WAN link if we try to run direct.  I also want to point out that this app has been running,
    using terminal services for  several years now and there has not been an issue.
    As for screen shots, I'm working on that.

  • Strange characters in WEBI report

    Hi,
    When I run a WEBI report, i see strange characters in the cells. Pls refer to attached screen shot. The output is sometimes displaying correctly and sometimes not.
    I run the query generated by WEBI at the backend, I get the correct results.
    I tried to create a separate report with some of the columns. Even then I get these strange characters.
    Please let me know if you have anything solution on this.
    I use
    BOXI R3.1 SP5
    Cheers
    Shreyas

    Hi Shreyas,
    I was interested to see the database output so that I can see what values are coming to report.
    Does the report contain some accentuated characters like Ö,É,ć etc. or some other characters.
    As the issue is not coming with Deski and WRC then it could be an issue with the application server.
    Which application do you use? IIS or Tomcat or some other server?
    Sometimes, the application servers do not support UTF-8 encoding. In case of Tomcat, you can check the server.xml file. You can check knowledge base article on SAP portal.
    Also check if the desired font is added in fontalias.xml.
    Regards,
    Yuvraj

  • Cannot display BIG5 characters for web applications deployed to 9iAS

    I have just installed the J2EE and Webcache module of Oracle9iAS Release 2 to
    my Windows NT Server 4.0 and deployed a simple web application to it. However,
    I found that the JSP cannot display chinese (Big5) characters correctly. My JSP
    is something like:
    <%@ page contentType="text/html; charset=BIG5" %>
    <HTML><BODY>
    <% String s = SOME_BIG5_CHARACTERS; %>
    <%= s %>
    </BODY></HTML>
    On the other hand, I tried to re-direct the standard output to a log file and
    do the following in my servlet.
    System.out.println(SOME_BIG5_CHARACTERS);
    Now, the Big5 characters CAN be displayed correctly in the log file. So, I am
    confused with where the problem is.
    Here are my settings to my 9iAS:
    1) Using regedit, I have set the NLS_LANG variable of the corresponding
    ORACLE_HOME to TRADITIONAL CHINESE_TAIWAN.ZHT16BIG5
    2) In the file %ORACLE_HOME%\Apache\Jserv\conf\jserv.properties, I have
    inserted the following line:
    wrapper.env=NLS_LANG=TRADITIONAL CHINESE_TAIWAN.ZHT16BIG5
    3) In the file %ORACLE_HOME%\Apache\Apache\conf\httpd.conf, I have added the
    following line:
    PassEnv NLS_LANG
    4) In the file %ORACLE_HOME%\opmn\conf\opmn.xml, I have added the following
    line to the corresponding OC4J instance:
    <environment>
    <prop name="NLS_LANG" value="TRADITIONAL CHINESE_TAIWAN.ZHT16BIG5"/>
    </environment>
    5) For my application server, I set the java option with -Dfile.encoding=Big5
    6) I have replaced the file font.properties with font.properties.zh_TW under
    %ORACLE_HOME%\jdk\jre\lib.
    7) I have set the following in the file orion-web.xml of my web application:
    <orion-web-app
    deployment-version="9.0.2.0.0"
    default-charset="Big5"
    jsp-cache-directory="./persistence"
    temporary-directory="./temp"
    internationalize-resources="false"
    default-mime-type="application/octet-stream"
    servlet-webdir="/servlet/">
    </orion-web-app>
    Anyone have idea on fixing my problem? Thanks in advance.
    Regards,
    Kae

    I met a similar problem before but not exactly your case. When I compile the JSP by Jdeveloper, it will convert the chinese characters to strange characters. It makes me crazy to handle the chinese characters ...
    Anyway, by my experience, you better isolate the chinese characters from your JSP or Java programs. Instead, put all language dependent text in a properties file and then use native2ascii to covert your properties file into Unicode. Of course, u need to change your page charset to UTF-8.
    U can get more idea from the following site.
    Brief Description of Internationalization:
    http://java.sun.com/products/jdk/1.2/docs/guide/internat/faq.html
    Detail Tutorial:
    http://java.sun.com/docs/books/tutorial/i18n/
    Native-to-ASCII converter:
    http://java.sun.com/products/jdk/1.2/docs/tooldocs/win32/native2ascii.html

  • Strange Characters in Mail and Safari

    Hello,
    Just got my mini home and have noticed strange characters appearing in both Mail and Safari.
    It seems to be a font problem, but changing the fonts in mail and safarui prefs doesn't seem to fix it.
    Specifically: The apple start page rss stories display a weird font, so do the mail headers in mac mail.
    Yes, I did a search of the forum and the only things I seem to be coming up with are font issues related to outlook receiving mail on a pc.
    Any suggestions?
    Stefan

    Without seeing what you mean by "strange characters" it is hard to tell, but the most common cause of gibberish text is the font Helvetica Fractions or Times Phonetic. Dump them if you have them. Also clean your font caches with FontFinagler (use google to find it).
    Send a screen shot if you like (tom at bluesky dot org).

  • Displaying unicode characters

    Dear all,
    I am currently dealing with a character displaying problem on the MAM.
    We will soon go live in China. Until now we only had European countries, with a Latin alphabet.
    Now however this changes, so we need to use Unicode to display all characters correctly.
    Therefor I have converted all our custom language files to language files with Unicode escape characters.
    e.g.:
    EQUIPMENTS_EQU_MAT_NR=设备材料号码
    Now the strange thing is that when we login in Chinese, everything is displayed correctly, but when we login in German or Polish (countries which also have some special characters), we don't see everything displayed correctly.
    This is the code how we display an entry from the language file on the screen:
    <%@page language="java" contentType="text/html; charset=UTF-8"%>
    meta http-equiv="Content-Type" content="text-html; charset=UTF-8"
    <jsp:useBean id="res" class="com.sap.ip.me.api.services.MEResourceBundle" scope="session"></jsp:useBean>
    <%=PageUtil.ConvertISO8859toUTF8(res.getString("CONFIRMATIONS_HEADER_DETAIL"))%>
    For Chinese language, the characters are displayed correctly in this way.
    e.g.: 最后一次同步时间
    However Polish characters and German characters are not (always) displayed correctly.
    e.g.: Wskaźnik pierwszego usuniÄu2122cia usterki
    The only 'difference' that I can see is that for China, every character in the language file has a special Unicode notation, while for Polish and German characters, only the special characters are displayed in special Unicode notation.
    e.g.:
      EQUIPMENTS_EQU_MAT_NR=Numer materia\u00c5‚u sprz\u00c4™tu
    FYI, I've converted the files to Unicode escape characters with the java util native2ascii.exe.
    Is there anyone who knows how to solve this issue?
    Thanks already in advance!
    Best regards,
    Diederik
    Edited by: Diederik Van Wassenhove on Jul 6, 2009 2:34 PM

    Dear all,
    I've found the reason for this problem.
    Thanks anyway for your time!
    The problem was that when converting the language files to Unicode escape characters, the source format was wrong. The files where saved as UTF-8, but the JAVA tool native2ascii is not taking UTF-8 as standard input format. So the resulting Unicode file was not containing the correct Unicode characters.
    I've re-generated the language files with the parameter -encoding UTF-8, and now everything is displayed correctly!
    Have a good day!
    Diederik

  • CARACTERES EXTRAÑOS ORACLE REPORT 6I (STRANGE CHARACTERS ORACLE REPORT 6I)

    Español:
    Hola compañeros. Estoy utilizando Oracle Report 6i y cuando quiero imprimir un reporte en modo caracter me aparecen unos extraños simbolos al final de las lineas, como se puede apreciar en la imagen:
    English:
    Hello fellow. I am using Oracle Report 6i and when I want to print a character mode report me strange symbols appear at the end of the lines, as you can see in the picture:
    Español:
    Según esta revisado, sería problema de espacio, pero ya le di mayor margen al reporte, he hecho la letra mas pequeña y nada ha resuelto el problema. ¿Alguna sugerencia? De antemano, gracias.
    English:
    Under this revised, would be space problem, but it gave greater scope to the report, I made the smallest point and nothing has solved the problem. Any suggestions? Thank you in advance.

    Hi Pat
    The answer is no, not in Reports 6i.
    Reports 9i, however, includes rich PDF enhancements such as Type1 font embedding and Type3 font subsetting that can be used to display Chinese characters.
    Browse this url for more information:
    http://otn.oracle.com/products/reports/htdocs/getstart/whitepapers/pdfenh.htm
    Regards
    Sripathy

Maybe you are looking for

  • How can I make my Time Machine backup copy-able again?

    Because one of my Time Machine hard drives failed catastrophically, I bought a replaceemnt disk and tried to copy the Backups from my second TM hard drive as a starting point for the new drive. The copy failed: "A075BE7D-541F-4AA8-80D6-E5E42DD9B198"c

  • Problem in Sales Order Query

    Hi All, I have problem....This is query which ic combination of Sales Order, Return, Delivery and AR Invoice.....Please tell me why this query is not working ......I want Document No, Quantity, Doc Date from Sales Order, Return, Delivery and AR Invoi

  • I get error -43 when I try to upgrade to ios 5 for iP

    like this, ive been busy lately and ive not had the time to upgrade my 4.3.3 to 4.3.5 but now I see that ios 5 is out I tried upgrading to it. downloading was ok, but when the backing up process was happening, when the green bar reaches the 'k' for b

  • Problem in Creating basemaps

    Hi All Am new to Map concepts, I followed the steps below to create maps : 1. I downloaded Mapbuilder Application and MVDemo Schema. 2. Now I created User MVDemo in database and loaded all the data that containd in MVDemo. 3. I created connection for

  • Can i get mail notifications when mail.app is closed?

    If mail.app is closed, emails wont pop up and notifiy me like in iOS, it seems to only fetch once mail.app is opened. I have put the settings to check for mail every 15 minutes. I have a hotmail and a yahoo account both enabled. Why is this ? Can som