UTF8 terminal input and missing locales

Hello all
Some time ago two of this forum's members (Tom Gewecke and Jun. T.) [url="http://discussions.apple.com/click.jspa?searchID=-1&messageID=3526723"]he lped me[/url] get Vietnamese input working in X11. That was a huge help, and I appreciate it very much.
Although we worked around that problem by creating a custom keymap, the cause of my input problems overall, the lack of a UTF8 Vietnamese locale in the base OSX system, remains.
1. I would really like to install a Vietnamese UTF8 locale. I have searched, but I can't find anything on how to find or create missing OSX locales. Can anyone here help me with that, or point me to instructions on it?
2. I want to get terminal input (specifically [url="http://iterm.sourceforge.net/"]iTerm[/url]) working for my language. Can I get iTerm (or the bash shell running in it) to call my custom keymap, as we did with xterm?
I find iTerm in most ways a more comfortable terminal than Terminal.app or PathFinder's terminal, but its lack of UTF8 input is really a problem for me. [url="http://www.rift.dk/news.php?item.7.6"]this article[/url] explains how to get UTF8 input working for OSX terminals, but also points out iTerm's deficiencies in this area. I have added information to a [url="http://sourceforge.net/tracker/index.php?func=detail&aid=1623392&group_id =67789&atid=518973"]current bug[/url] on enabling UTF8 input in iTerm. I have also joined the iTerm mailing list, will follow this issue up there and report back here.
The lack of a UTF8 Vietnamese locale anywhere on disk seems to be to be a fundamental problem. I want to solve it. Surely, the languages supported by default under the OSX GUI should also be supported by the base system?
And I simply want to get Vietnamese input working in terminal.
Thanks for any help you can offer with this.

Hi Clytie,
I just wish someone had shown me this message 6 years ago.
I finally got it.
On 22 Oct 1997, wrote:
In article <344CFAF2.C3B136CD at netscape.com>,>
see us defined something like UTF8 as the default charset used. While I
heard from people who agreed with me on this, I didn't hear any
objections. Is this OK? Do poeple think this would be a bad thing? If
not should we change the draft?
UTF8 sounds fine.
Please always use UTF-8 and not UTF8. UTF-8 is the correct MIME charset
value; UTF8 only is risking confusion.
[The only place where I have seen UTF8 instead of UTF-8 is VRML 2.0,
but that's not an IETF standard, and other values are not allowed
anyway.]
Regards, Martin.
2.16 Ghz Core Duo   Mac OS X (10.4.8)  

Similar Messages

  • Missing locales: UTF8 for X11

    Hello everyone
    I have been trying to get Vietnamese input under X11 working for over two years now. My system keyboard layouts only partly work: I can use the normal keys, but the dead keys only create a space, not the added accent required. Since my language is largely composed of vowels with added accents, this disabled Vietnamese input completely.
    I think one of my problems might be a lack of locale. /usr/X11R6/lib/X11/locale has two Vietnamese locales, neither of them UTF8. I've tried setting the legacy TCVN one in xterm_script and xterm_script.sh, but that doesn't help. It's a UTF8 locale I need, anyway. en_US.UTF-8 doesn't work for Vietnamese.
    I don't know where to look for additional locales. Any advice you can offer would be very welcome. I've really been held back in testing our free-software translations, not to mention using the software itself, by this inability to input my language in X11.

    Thankyou both for your replies. I'll answer them in order:
    First I want to clarify the situation in native
    MacOSX apps (e.g. Safari).
    If I select US key layout from the Input Menu, then
    option-` (and four more similar combinations)
    act as dead-keys. In Safari (TextEdit, etc.), I get è
    (e grave) by hitting option-` and then
    e.
    Yes. The same thing happens with the Australian English keyboard.
    When I select Vietnamese key layout, then the
    following twelve keys act as dead keys:
    They're not dead keys. They simply input different characters from the English layout.
    a e i o u y [ ] 1 2 3 4 (character printed
    on the key-tops)
    If I hit one of them, they produce the following
    characters (Vietnamese vowels?)
    a e i o u y ư ơ ă â ê ô (character they
    actually produce)
    Correct.
    and await the next key. If I hit one of the
    number keys 5-9 here, then I can add an accent to
    those vowels. For example, in order to input è
    (e grave), I must hit e and then 5, NOT
    5 and then e. On your Mac, if you want
    to input è into Safari, do you hit 5e or
    e5?
    I'm using a different layout. The default Vietnamese layout for OSX originally was a decomposed Unicode layout, which caused me a lot of problems. So I installed additional precomposed layouts. My current layout is TCVN: the only difference is that for that layout, you hit the dead key before the vowel, not after. However, I have also tried the default layout with X11, with the same results. I don't know if the default layout has been changed to precomposed Unicode yet, but I'm used to the TCVN one now, so I stick with that.
    If you open Keyboard Viewer from the Input
    Menu (if it is not in your Input Menu, then you can
    add it via International System Preferences), the
    dead keys will be indicated by orange color. It will
    be interesting to keep Keyboard Viewer open when you
    type.
    Now let's see the situation in X11.
    (I assume you have enabled "Use the system keyboard
    layout" in the Preferences of X11)
    Yes.
    In my Mac, if US key layout is selected and the
    locale is set to en_US.UTF-8, I can enter è
    just as in Safari (by hitting option-` then
    e), at least in xterm (It seems that luit must
    be turned off by 'xterm +lc' (see xterm man page for
    the option +lc)). xev tells that the keysym sent by
    option-` is 'dead_grave'.
    If Vietnamese layout is selected, then no dead keys
    are available. This is not a surprise, because no
    keySyms like “dead_e” are defined in X11 and so the
    key e can't act as a dead key. If I hit
    e then 5, I just get e` (e and a stand
    alone `).
    Ah. It's a lack of definition in X11. That's really useful to know.
    In your post, the keysym sent by the number key 5 is
    just a space:
    state 0x0, keycode 31 (keysym 0x20, space),
    same_screen YES,
    In my mac, it is a simple grave:
    state 0x0, keycode 31 (keysym 0x60, grave),
    same_screen YES,
    I don't know where this difference comes from. I'm
    using a third party keyborad but it is recognized as
    a US keyboard by the OS.
    Yes, interesting. X11 may read the order of input slightly differently with different layouts.
    Anyway, neither my Mac nor your Mac can't input è
    into X11.
    Yes.
    I'm not sure whether there is a simple option (or
    trick) which enables dead keys in X11 with Vietnamese
    key layout. But as the last resort you can modify
    keymap by yourself. For example, please create a file
    'mykeymap' (or whatever name you like) and put the
    following line to it
    keycode 31 = dead_grave percent 5 percent
    This will mean modifying it for all four dead keys. I will try that.
    and run xmodmap as
    $ xmodmap mykeymap
    Then you can use the number key 5 as a dead key; you
    may input è by hitting 5 and then e.
    If you manually modify the keymap, then you should
    disable "Use the system keyboard layout" in the
    Preferences of X11; otherwise the keymap will be
    overwritten by the system when you switch the key
    layout.
    OK.
    I guess you can add four more lines to mykeymap so
    that number keys 5-9 act as dead keys. You may find
    the necessary keysym names in
    /usr/X11R6/lib/X11/locale/en_US.UTF-8/Compose. The
    current keymap can be listed by
    $ xmodmap -pke
    Thankyou. I will try all that, then report back. Certainly it seems that the international features of X11 need work. Vietnamese is one of the languages/input methods which comes with OSX, so it's not exactly uncommon or esoteric to Apple. However, they don't enable it in Appleglot, either, and I've had an open bug on that for years now.
    Jun then said:
    It seems that luit must be turned off by 'xterm +lc'
    Maybe I was wrong. You don't need +lc.
    Tom added:
    I notice that copy/paste from TextEdit works, so it's not a font problem. I >suppose that a custom keyboard that created all the required characters via >a single keypress would work ok, but that is not very practical, right?
    No, since there are 72 vowels in total, and we use all the rest of the Roman alphabet except F, W and Z. It would have to be a very large keyboard! The dead-key system makes it all manageable on a standard keyboard.
    Are you sure that your X11 has access to a font which contains all the >precomposed Vietnamese characters? I don't think you can rely on the OS X >fonts for this, but there may have to be a font in /usr/X11R6/lib/X11/fonts >or someplace similar.
    After you first commented on this, I put all the Dejavu and URWVN fonts into that location. Dejavu is the best of the current free-software pan-Unicode fonts in displaying Vietnamese, due to keen attention by their developers to my feedback. URWVN is a package of GPL fonts designed for Vietnamese. After putting them in that location, I restarted X11, even restarted the Mac, but no change in my problem. I think the fonts are accessible, but X11 can't recognize the keypresses calling those characters.
    You have said more than once (or the msg keeps being tacked on to the end of the thread):
    Perhaps this fellow would know how to port this program to Darwin?
    http://www.unikey.org/linux.php
    As I said, I don't know anyone else in free-software who uses a Mac for Vietnamese. I'll keep an eye out, though.
    Thankyou both for your help.
    White MacBook 1.83 GHz, 2 GB RAM, 120 GB HDD   Mac OS X (10.4.8)  

  • Adding Index server to existing farm, "Server Farm Product and Patch Status" returned 34 Missing Locally required products and patches

    Once I connected my new server to my farm's config db, it returned all of the following missing locally. I stripped out any redundancies and Headings, and I'm left with 43. I'm looking for a efficient strategy. Should I start with the lowest version number
    and work my way up? Current DB version is 14.0.7015.1000. IIRC, SP2 is cumulative, so can I ignore the first two (SP1 and Hotfix), install SP2, and then the Language packs and etc on top?
    Sorted by version:
    Microsoft SharePoint 2010 Service Pack 1 (SP1) (14.0.6029.1000)
    Hotfix for Microsoft SharePoint Server 2010 (KB2775353) 64-Bit Edition (14.0.6105.5000)
    Service Pack 2 for Microsoft SharePoint 2010 (KB2687453) 64-Bit Edition (14.0.7015.1000)
    Service Pack 2 for Microsoft 2010 Server Language Pack (KB2687462) 64-Bit Edition (14.0.7015.1000)
    Microsoft Office Server Proof (English) 2010 (14.0.7015.1000)
    Microsoft Office Server Proof (French) 2010 (14.0.7015.1000)
    Microsoft Office Server Proof (Russian) 2010 (14.0.7015.1000)
    Microsoft Office Server Proof (Spanish) 2010 (14.0.7015.1000)
    Microsoft SharePoint Portal (14.0.7015.1000)
    Microsoft User Profiles (14.0.7015.1000)
    Microsoft SharePoint Portal English Language Pack (14.0.7015.1000)
    Microsoft Shared Components (14.0.7015.1000)
    Microsoft Shared Coms English Language Pack (14.0.7015.1000)
    Microsoft Slide Library (14.0.7015.1000)
    Microsoft InfoPath Forms Services (14.0.7015.1000)
    Microsoft InfoPath Form Services English Language Pack (14.0.7015.1000)
    Microsoft Word Server (14.0.7015.1000)
    Microsoft Word Server English Language Pack (14.0.7015.1000)
    PerformancePoint Services for SharePoint (14.0.7015.1000)
    PerformancePoint Services in SharePoint 1033 Language Pack (14.0.7015.1000)
    Microsoft Visio Services English Language Pack (14.0.7015.1000)
    Microsoft Visio Services Web Front End Components (14.0.7015.1000)
    Microsoft Excel Services Components (14.0.7015.1000)
    Microsoft Document Lifecycle Components (14.0.7015.1000)
    Microsoft Excel Services English Language Pack (14.0.7015.1000)
    Microsoft Search Server 2010 Core (14.0.7015.1000)
    Microsoft Search Server 2010 English Language Pack (14.0.7015.1000)
    Microsoft Document Lifecycle Components English Language Pack (14.0.7015.1000)
    Microsoft Slide Library English Language Pack (14.0.7015.1000)
    Microsoft SharePoint Server 2010 (14.0.7015.1000)
    Microsoft Access Services Server (14.0.7015.1000)
    Microsoft Access Services English Language Pack (14.0.7015.1000)
    Microsoft Web Analytics Web Front End Components (14.0.7015.1000)
    Microsoft Web Analytics English Language Pack (14.0.7015.1000)
    Microsoft Excel Mobile Viewer Components (14.0.7015.1000)
    Recommendations?
    Thanks,
    Scott

    Thanks guys. I was able to get through all of the patches except for
    Language Pack for SharePoint, Project Server and Office Web Apps 2010 - English   missing locally
    Language Pack for SharePoint, Project Server and Office Web Apps 2010 -
    Spanish/Español missing locally
    This was my process:
    Config Wizard:
    Adding Index server to existing farm, "Server Farm Product and Patch Status" returned 34 Missing Locally required products and patches.
    SKIP installing the following two, as SP2 is cumulative
    Microsoft SharePoint 2010 Service Pack 1 (SP1) (14.0.6029.1000) (officeserver2010sp1-kb2460045-x64-fullfile-en-us.exe)
    Hotfix for Microsoft SharePoint Server 2010 (KB2775353) 64-Bit Edition (14.0.6105.5000)
    install SP2 oserversp2010-kb2687453-fullfile-x64-en-us.exe
    install oslpksp2010-kb2687462-fullfile-x64-en-us.exe
    Got "There are no products affected by this package installed on this system."
    SO!
    Uninstalled Sharepoint 2010 Server
    WIll try to install again, without skipping #2, and reorder installation of oslpksp2010-kb2687462-fullfile-x64-en-us.exe
    Retry (the long way):
    Run SharePointServer.exe, get Missing Locally...
    Install oslpksp2010-kb2687462-fullfile-x64-en-us.exe SUCCESSFUL
    Install officeserver2010sp1-kb2460045-x64-fullfile-en-us.exe SUCCESSFUL
    Reboot
    Install oserversp2010-kb2687453-fullfile-x64-en-us.exe SUCCESSFUL
    Rerun Config
    STILL MISSING
    Download oslpksp2010-kb2687462-fullfile-x64-es-es.exe, run, "there are no products affected..."
    Uninstall.
    Re-retried, only got through the first couple:
    Run SharePointServer.exe, get Missing Locally...
    Install SP1 officeserver2010sp1-kb2460045-x64-fullfile-en-us.exe, SUCCESSFUL
    Install English Lang Pack oslpksp2010-kb2687462-fullfile-x64-en-us.exe, "There are no products affected by this package installed on this system."
    Install Spanish Lang Pack oslpksp2010-kb2687462-fullfile-x64-es-es.exe,
    Install SP2 oserversp2010-kb2687453-fullfile-x64-en-us.exe, run Config Wizard
    I'm now downloading 462150_intl_x64_zip.exe, going to try and install it as step three.
    Any suggestions greatly appreciated.
    Thanks,
    Scott

  • Bug: Universal app input controls (i.e. Start Menu, Task view buttons) ignoring and missing interpretative translation for legacy input control context request (right-click)

    Redundant post - however the topic (title) is different to point out the potential of adding translation for right-click to universal app input controls. The part about a solution for translation is in bold at the bottom of this post ...
    Bug: Universal app input controls (i.e. Start Menu, Task view buttons) ignoring and missing interpretation translating right-click to a left-click to activate context (menu) in universal app web style (similar to oo context menu for oo legacy style).
    Bug: Task view: OO context menu: Should show "nothing" (like right-click Start Menu button) - but right click Task view shows the oo context menu for the Task bar (wrong context)
    Besides behaving wrongly (should be like right clicking the Start button) ....
    the problem is the user is likely to look for actions on that context menu.
    However to activate the context menu for this universal app kind of behavior you actually need to left-click the button for the Task view ... and then you get the universal app like context menu.
    Microsoft must have been trying to figure out what to do about this kind of voupling mismatch between legacy (right-click) and universal app (left-click) conmtext menus. confusing for users it weill become nevertheless.
    But the left-click style supports touch.
    One solution though is to support right-click on i.e. Task view and Start button. Thus for new kind (universal app kind-of)input controls - right-click will work (instead of just being ignored) just like left-click. Allthough not a correct left-click
    - it will be helpful and interpretive translating the intension of receiving a context. A practical solution with right-click translating into left-click for universal app controls considering that the context menu actually has become a hybrid of left-click
    and right-click (with a precedence for left-click though)

    This is a great post.
    I couldn't have written it myself better.
    I'm also in dying need of Korean input as I can't communicate with my Korean friends.
    But I second every point.
    I hope the tech teams are reading this.

  • Error while executing SSIS package - Error: 4014, Severity:20, State: 11. A fatal error occurred while reading the input stream from the network. The session will be terminated (input error: 109, output error: 0)

    Hi,
    We are getting the following error when running our SSIS packages on Microsoft SQL Server 2012 R2 on Windows Server 2008 R2 SP1:
    Error: 4014, Severity:20, State: 11.   A fatal error occurred while reading the input stream from the network. The session will be terminated (input error: 109, output error: 0)
    SQL Server Data Tools and SQL Server Database Engine reside on the same server.
    We tried the following:
    Disabling TCP Chimney Offload
    Installed Windows Server 2008 SP1
    Splitting our SSIS code into multiple steps so it is not all one large continuous operation
    The error occurs during a BulkDataLoad task.
    Other options we are investigating with the engineering team (out-sourced, so delayed responses):
    Firewall configurations (everything is local, so this should not make a difference)
    Disabling the anti-virus scanner
    Are there other things we can try?
    Any insight is greatly appreciated.
    Thanks!

    Hi HenryKwan,
    Based on the current information, the issue can be caused by many reasons. Please refer to the following tips:
    Install the latest hotfix based on your SQL Server version. Ps: there is no SQL Server 2012 R2 version.
    Change the MaxConcurrentExecutables property from -1 to another one based on the MAXDOP. For example, 8.
    Set "RetainSameConnection" Property to FALSE on the all the connection managers.
    Reference:
    https://connect.microsoft.com/SQLServer/feedback/details/774370/ssis-packages-abort-with-unexpected-termination-message
    If the issue is still existed, as Jakub suggested, please provide us more information about this issue.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Audio Line-in input and BT Headset output not working

    Hi,
    I'm trying to run the Line-in into my MBPro and route the output to my Logitech H800 BT Headphones at the same time (a pass through), but can't get it to work.
    I have tried to run the line-in to the Internal Speakers and can not get this to work either.
    Steps to taken:
    1. Go to the Sound window by selecting the Sound icon from System Preferences.
    Next, I route the Line-in by:
    2. Selecting the Input button from Sound Effects, Output, Input buttons.
    3. Select "Line In" from the Select a device for sound input list.
    4. Select "Sound Input" from the Use audio port for drop down list
    5. you should see activity on the Input Level.
    6. Next, select the Ouput button from Sound Effects, Output, Input buttons.
    7. Select "H800 Logitech Headset Stereo (or Internal Speakers) from the Select a device for sound output list.
    8. Verify that "Sound Input" from the Use audio port for drop down list is still selected.
    9. Also, verify that the Mute checkbox is not selected in either the Input or Output window.
    10. NO SOUND :-(
    11. If I pull up a radio station in a webbrowser, I can listen to it without issue. So, I think audio out is set correctly.
    12. If I install Audacity: 1) It shows the audio input and output to be set as above (Built-in Input/H800 Headset). 2) If I record and then playback, it records the audio going in the Line-In and plays back accross the H800. 3) Also looked for a Monitor function in Audacity but could find one to test simulataneous I/O. 
    Any idaes welcome ?

    ahh sry, thats how the line in works on my Mac Pro, I guess the Macbook is different. This is a program I use in conjunction with another called 'soundflower' to route my audio to all the places it needs to go:
    http://www.macupdate.com/app/mac/11333/linein
    If you need to run multiple instances, you can open up terminal and type
    open -n /Applications/[PUT PROGRAM NAME HERE].app/
    It will open up another instance every time you run that script.

  • 'input batch missing' in excise internal number field at the time of J1IG

    Hello experts,
    I am doing J1IG, when i am giving Excise internal no. in field, system gives error that  'input batch missing'.
    plz help to resolve this.

    Moved from SAP ERP Sales and Distribution (SAP SD) to Internationalization and Unicode.  Please post all your CIN related queries here.
    Coming to your issue, have a look at the following note:-
    Note 1088930 - Batch not relevant in J1IG if material split valuated    
    G. Lakshmipathi

  • How to temporally match/save Input and Output Channels's data?

    Hello, I have a voltage-input, voltage-output SISO system, and need to indentify its dynamic response (or transfer function) as a reference to a PID control. Without using the system identification toolbox, my goal is to generate/provide a sine sweep input (ranging 1Hz-5kHz for 10sec) to the system and to save the corresponding output response signal as well as the sweep input signal simultaneously.
    I got a sample program online and am trying to modify it as attached, but I really need your advices/comments concerning several problems I am facing with:
    1) With the below setting, the number of the acquired Input channel samples obtained is 5461, which is smaller than expected (i.e., 10000). What would I be missing in setting parameters?
    - H/W: NI-USB-6341 DAQ
    - AO: continuous samples with the waveform timing (1k sampling, 10000 samples => 10 sec, slower sampling just for testing purpose)
    - AI: continuous samples, samples to read: 30k, rate: 1k
    2) I am using flat sequence structure as a way to making the start point of saving AI and AO data same, but wonders if this is a right method or if there is other better approaches. (I had an idea of using an internal clock with "1-sample mode" for sync, but this may not work at the high speed sine sweep like 5kHz, right?)
    3) I just want to provide the sine sweep just once to the system and do not require the "reset" functionality implemented in the original sample program. I failed to remove this "reset" part as I did not fully understand the sample code. If I run the attahed, the generated AO signal is periodically provided to the system. Please give me any advice to modify the program as I want.
    Thanks for your help and valualble time.
    Attachments:
    siso.vi ‏230 KB

    Hi J. Kim,
    To begin, you say you want to synchronize your analog input and output so that they start at the exact same time, yes? To achieve tight synchronization, you need to use DAQmx VIs instead of the DAQ Assistant. There's a good overview of DAQmx VIs  here. There's also a document that deals specifically with synchronization in DAQmx here. Additionally, if you go to Help>>Find Examples in the LabVIEW example finder, you can see many other examples of acquiring data using DAQmx.
    As for your configuration, you have your analog input DAQ assistant wired far before your analog output DAQ assistant in your sequence strucutre, so the dataflow of the program will cause the analog input DAQ Assistant to execute before the output. They cannot be in different sequences if they are executing simoultaneously, and I would not use flat sequences here except to start the two tasks in DAQmx. Where did you find this example?
    Best,
    Dan N
    Applications Engineer
    National Instruments 

  • Problem with File Input and Output

    I'm using a class named Output which takes 2 arrays as input and is simply supposed to output them to a file named myfile.txt. However, every time I call it it catches an exception and just prints out Error Writing to File. Here is the source:
    import java.io.*;
    public class Output
         public Output(int[][] orig, int[][] orig2)
              int[][] first = orig;
              int[][] second = orig2;
              try
                   FileOutputStream out = new FileOutputStream("myfile.txt");
                   PrintStream p = new PrintStream( out );
                   p.print("{");
                   for(int i = 0; i < 50; i++)
                        for(int j = 0; j < 30; j++)
                             p.print(" " + first[i][j]);
                   p.print("}");
                   p.println("\n\n\n");
                   p.print("{");
                   for(int i = 0; i < 50; i++)
                        for(int j = 0; j < 30; j++)
                             p.print(" " + second[i][j]);
                   p.print("}");
                   p.close();
              catch (Exception e)
                   System.err.println ("Error writing to file");
    }

    Equis.Scry wrote:
    So basically is my computer not letting this APPLET create a txt file? For security reasons, applets by default cannot access the local file system (on the client) and cannot open any network connections except back to the server that served them up. You can sign your applet, and set up permissions in the JRE that your browser runs to allow the signed applet to do things that applets normally can't. However, before starting down that path, I suggest you examine whether your applet really needs to access the local file system, and if it does, if it should really be an applet, or would be more appropriate as an application.

  • Input and output varaiables are not shown

    Hi,
    I am using BICS connectivity to connect to a BeX query from Xcelsius. I am able to logon to SAP use datamanager conn and also able to select a query. But after that the query input and output variables are not shown. Instead all those fields are greyed out. I am not sure whether am missing any configuration. Please let me know if anyone have workaround for this issue.
    Thanks,
    Sivakami - SEMC SAP team

    That is interesting.  The first (AES) is producing a 128-bit key, the second (aes) is producing a 256-bit key.
    Producing a 256-bit key should not be possibe without the JCE/JCA Unlimted strength policy files installed, I have those files, installed, do you?
    If someone who doesn;t have ththe policy files installed tried it, what do they get?
    I would suspect that the case-sensitive nature of the underlying JVM is causing it to choose a different Crypto Provider when you use aes than when you use AES. The JVM that ColdFusion ships with (and the standard JVM) have severa crypto providers to choose from, plus ColdFusion Enterprise and Developer addition also include the BSafe Crypto-J provider), I think there are 10-11 total.
    I would log a bug for this.
    FYI, you can control this by using the optional keylength argument in generateSecretKey()
    These two statements will produde keys with the same length.
    #arrayLen(binarydecode(generateSecretKey("AES", 128),"base64") )#
    #arrayLen(binarydecode(generateSecretKey("aes", 128),"base64") )#

  • Audio input and output

    I am trying to get audio to play through from the audio input to the audio output. I have plugged a line-level keyboard into the audio input and as I play it, it shows that it has plenty of input level in the sound panel of the system preferences. However, there is no sound coming out. I have tried speakers, headphones and the Griffin IMic. If I use a program like SoundStudio3 and click the audio "thru" button it works fine, but it does not work without.
    Is there a THRU switch that I am missing somewhere? I tried the Applications/Utilities/AudioMIDI setup to configure it, but the Thru button at the bottom is greyed out (not in operation).
    Thanks.
    2 GHZ intel core duo   Mac OS X (10.4.8)  

    Hi Rich,
    Welcome to apple forum.
    In my opinion, I don't think OS X have the capability to sent the audio input "THRU" to output directly (I could be wrong).
    You need to use Garage band or third party software like you mention before to allow it.
    Maybe if you connect third party device that is "supported" the signal become audible and you can hear it. Like mBox using core audio driver.
    http://www.apple.com/macosx/features/coreaudio/
    Good Luck.

  • Wrong input and output files path?

    When i tried to run my code i got wrong path of input and output files, why it was and where is the mistake? I did not meant the path \tmp\xorout.txt and C:\jar\org\joone\samples\engine\xor\xor.txt in the source code - where are they from? :
    * XOR.java
    * Sample class to demostrate the use of the Joone's core engine
    * see the Developer Guide for more details
    * JOONE - Java Object Oriented Neural Engine
    * http://joone.sourceforge.net
    package org.joone.samples.engine.xor;
    import java.io.File;
    import org.joone.engine.*;
    import org.joone.engine.learning.*;
    import org.joone.io.*;
    import org.joone.net.NeuralNet;
    public class XOR implements NeuralNetListener {
    /** Creates new XOR */
    public XOR() {
    * @param args the command line arguments
    public static void main() {
    XOR xor = new XOR();
    xor.Go();
    public void Go() {
    * Firts, creates the three Layers
    LinearLayer input = new LinearLayer();
    SigmoidLayer hidden = new SigmoidLayer();
    SigmoidLayer output = new SigmoidLayer();
    input.setLayerName("input");
    hidden.setLayerName("hidden");
    output.setLayerName("output");
    /* sets their dimensions */
    input.setRows(2);
    hidden.setRows(3);
    output.setRows(1);
    * Now create the two Synapses
    FullSynapse synapse_IH = new FullSynapse(); /* input -> hidden conn. */
    FullSynapse synapse_HO = new FullSynapse(); /* hidden -> output conn. */
    synapse_IH.setName("IH");
    synapse_HO.setName("HO");
    * Connect the input layer whit the hidden layer
    input.addOutputSynapse(synapse_IH);
    hidden.addInputSynapse(synapse_IH);
    * Connect the hidden layer whit the output layer
    hidden.addOutputSynapse(synapse_HO);
    output.addInputSynapse(synapse_HO);
    FileInputSynapse inputStream = new FileInputSynapse();
    /* The first two columns contain the input values */
    inputStream.setAdvancedColumnSelector("1,2");
    /* This is the file that contains the input data */
    inputStream.setInputFile(new File("c:\\xor.txt"));
    input.addInputSynapse(inputStream);
    TeachingSynapse trainer = new TeachingSynapse();
    /* Setting of the file containing the desired responses,
    provided by a FileInputSynapse */
    FileInputSynapse samples = new FileInputSynapse();
    samples.setInputFile(new File("c:\\xor.txt"));
    /* The output values are on the third column of the file */
    samples.setAdvancedColumnSelector("3");
    trainer.setDesired(samples);
    /* Creates the error output file */
    FileOutputSynapse error = new FileOutputSynapse();
    error.setFileName("c:\\xorout.txt");
    //error.setBuffered(false);
    trainer.addResultSynapse(error);
    /* Connects the Teacher to the last layer of the net */
    output.addOutputSynapse(trainer);
    NeuralNet nnet = new NeuralNet();
    nnet.addLayer(input, NeuralNet.INPUT_LAYER);
    nnet.addLayer(hidden, NeuralNet.HIDDEN_LAYER);
    nnet.addLayer(output, NeuralNet.OUTPUT_LAYER);
    nnet.setTeacher(trainer);
              FileOutputSynapse results = new FileOutputSynapse();
    results.setFileName("c:\\results.txt");
    output.addOutputSynapse(results);
    // Gets the Monitor object and set the learning parameters
    Monitor monitor = nnet.getMonitor();
    monitor.setLearningRate(0.8);
    monitor.setMomentum(0.3);
    /* The application registers itself as monitor's listener
    * so it can receive the notifications of termination from
    * the net.
    monitor.addNeuralNetListener(this);
    monitor.setTrainingPatterns(4); /* # of rows (patterns) contained in the input file */
    monitor.setTotCicles(2000); /* How many times the net must be trained on the input patterns */
    monitor.setLearning(true); /* The net must be trained */
    nnet.go(); /* The net starts the training job */
    public void netStopped(NeuralNetEvent e) {
    System.out.println("Training finished");
    public void cicleTerminated(NeuralNetEvent e) {
    public void netStarted(NeuralNetEvent e) {
    System.out.println("Training...");
    public void errorChanged(NeuralNetEvent e) {
    Monitor mon = (Monitor)e.getSource();
    /* We want print the results every 200 cycles */
    if (mon.getCurrentCicle() % 200 == 0)
    System.out.println(mon.getCurrentCicle() + " epochs remaining - RMSE = " + mon.getGlobalError());
    public void netStoppedError(NeuralNetEvent e,String error) {
    ERROR:
    C:\jar>java -cp joone-engine.jar org.joone.samples.engine.xor.XOR C:\\xor.txt C:
    \\xorout.txt
    [main] [ERROR] - org.joone.io.FileOutputSynapse - IOException in Synapse 6. Mess
    age is : \tmp\xorout.txt (The system cannot find the path specified)
    Training...
    [Thread-0] [WARN] - org.joone.io.FileInputSynapse - IOException in Synapse 3. Me
    ssage is : C:\jar\org\joone\samples\engine\xor\xor.txt (The system cannot find t
    he path specified)
    [Thread-0] [WARN] - org.joone.io.FileInputSynapse - IOException in Synapse 3. Me
    ssage is : C:\jar\org\joone\samples\engine\xor\xor.txt (The system cannot find t
    he path specified)
    java.lang.NullPointerException
    at org.joone.io.StreamInputSynapse.getStream(StreamInputSynapse.java:176
    at org.joone.io.StreamInputSynapse.readAll(StreamInputSynapse.java:288)
    at org.joone.io.StreamInputSynapse.fwdGet(StreamInputSynapse.java:106)
    at org.joone.engine.Layer.fireFwdGet(Layer.java:212)
    at org.joone.engine.Layer.fwdRun(Layer.java:1225)
    at org.joone.net.NeuralNet.stepForward(NeuralNet.java:1015)
    at org.joone.net.NeuralNet.fastRun(NeuralNet.java:970)
    at org.joone.net.NeuralNet.fastRun(NeuralNet.java:937)
    at org.joone.net.NeuralNet$1.run(NeuralNet.java:890)
    at java.lang.Thread.run(Thread.java:534)

    c:xor.txt
    c:/xor.txt
    i think c:xor stands for somthing else like a virtual drive but ima not sure

  • Page not showing correctly and missing sitemap

    I have two problems involving Dreamweaver 8.02.
    First is the index page not loading correctly. But when you
    preview the page from Dreamweaver's browser everything shows fine.
    But opening up a new broswer it is all messed up. I am using
    Dreamweaver 8.02 and one of the existing templates in CSS style.
    Second issue is the missing sitemap whenever I FTP files to
    the server. I used to be able to view the remote site and the local
    files side by side. Now. the white box indicating that perspective
    is gone. Did I click on something accidentally? If so, how do I
    reset everything?
    Here's the URL:
    http://www.clarkandclarkpublishing.com/
    I have also attached the code.

    I'm not sure but could the problem possibly be with the router itself. I checked many other topics of people reporting the same problems as me and the person above me. They all seem to be the same WRT54G wireless routers and all seem to have been reported at least within the last couple weeks. It seemed like the help given too never really helped the problem. I'm sure it's not the browser because I have had the same result on all that I've tried or the firewall because I have had that off while trying just like everyone else who seemed to have the problem.

  • Differences between regular and Japanese localized

    What are the differences between regular JDeveloper 2.0 and
    Japanese localized versions ?
    I received regular JDeveloper 2.0 (Build 343) from the U.S.
    Is there any issue or limitation to use it in order to use
    Oracld RDBMS 8.0.5 & 8.1.5 created with character set JA16EUC
    running on Solaris ?
    I think there is no issue or limitation if we use it with
    NLS-zip.
    Or do we have to use Japanese localized versions ?
    Then what's the benefit of using it ?
    Any information about this would be much appreciated.
    Best regards,
    null

    The US JDeveloper version if used with Japanese fonts , or
    better with a Japanese NT will allow for display and input of
    Japanese text including when interacting with Oracle databases.
    This is the internationalization support and JDeveloper is
    internationalized for Japanese
    The only difference between the versions (other than a couple OS
    dependent bugs in the readme file) is that the Japanese version
    has a UI and documentation in Japanese as opposed to English.
    Hope this helps.
    Yoshikazu Ichitsuka (guest) wrote:
    : What are the differences between regular JDeveloper 2.0 and
    : Japanese localized versions ?
    : I received regular JDeveloper 2.0 (Build 343) from the U.S.
    : Is there any issue or limitation to use it in order to use
    : Oracld RDBMS 8.0.5 & 8.1.5 created with character set JA16EUC
    : running on Solaris ?
    : I think there is no issue or limitation if we use it with
    : NLS-zip.
    : Or do we have to use Japanese localized versions ?
    : Then what's the benefit of using it ?
    : Any information about this would be much appreciated.
    : Best regards,
    null

  • Callable Object of Type "Input" is missing.

    Hi Friends,
    I am no able to see the callable object of type
    <b>Input</b> under <b>Data forms</b>,
    I do have only other 3 types:
    1) Data Input Form
    2) Data Display Form
    3) Data Display and Acknowledgement
    and fourth one <b>Input is Missing</b>
    Can you please tell me how can I get that,
    Thanks,
    Deepak

    Hi Deepak,
    Callable Object of Type "Data Forms -> Input" has been removed.  You can view all of the available callable object types by selecting the GP Administration Workset -> Manage Permissions -> Callable Objects.  Please see <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/ff/1b3a4209a6ae04e10000000a1550b0/frameset.htm">HERE</a> for documentation.
    Also, please see <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/0f/619fd378a641b29386063019c24fc4/frameset.htm">Available Callable Object Types</a> for a list of supported callable objects.
    Regards,
    Austin.

Maybe you are looking for