Terminal.app and the European Unicode characters?
Does anyone have the unicode characters working properly in Terminal.app?
If I try to write in GNU nano 1.2.4 for instance "örrör" it translates into:
(one empty line)
örr
ör
which isn't certainly right. This is especially awkward when editing an unicode text file where the text then easily becomes more or less garbled. Usually more.
It doesn't seem to make any difference whether or not I use the Finnish extended (unicode) keyboard layout or the conventional one in nano. If the Terminal.app window preferences are set as UTF-8, it says:
?rr
?r
which looks even more garbled.
In plain bash the characters print like this:
å = \345
ä = \344
ö = \366
so my mighty apple translates the example string "örrör" as "\366rr\366r".
Any ideas, anyone?
PowerBook G4 @ 1.5 GHz Mac OS X (10.4.4) 1.25 GB DDR SDRAM
Debian Sarge 3.1 as a slave fetchmail server.
Hi solarflare,
My first (and essentially only) language is English as well. However enough folks have asked that I have experimented with multibyte characters. There are so many apps and options involved, it's difficult to get consistent results. However, I'll recount as many settings as I can recall.
To begin with, you are right about the LC settings. It helps many apps to have:
export LCALL=enUS.UTF-8
export LANG=en_US.UTF-8
set in your shell startup scripts. Then the system should be set to produce unicode when you type. In the "Input Menu" tab of the "International" pane of "System Preferences", you should select a unicode keyboard layout, such as U.S. Extended.
To configure the Terminal, you need to open the "Terminal Inspector" by selecting "Window Settings..." in the "Terminal" menu. To type many multibyte characters, you need the option key. To use it, you must have the "Use option key as meta key" checkbox unchecked, although I find the meta key too important in UNIX to leave that unchecked. In the dropdown menu in the "Display" pane of the "Terminal Inspector", you should set the "Character Set Encoding" to "Unicode (UTF-8)". In the "Emulation" pane of the same window, you must uncheck the "Escape non-ASCII characters" checkbox. That is important as I've read that it is checked by default and that can produce some pretty strange results.
Now it's helpful to use a very modern shell. For instance, the latest beta version of zsh-4.3 has the best unicode support of all versions of zsh. After you've chosen a good shell, you're at the mercy of the application that you're using. As I gather you've noticed, vim has excellent unicode support and picks up on the LC settings. I have no idea about nano but it is meant to be a minimal text editor.
I know that my settings allow me to type extended characters and the "Character Palette" lets me insert more. As far as other command line utilities go, the best you can do is to choose well and keep your apps as up-to-date as possible. Fink or Darwin Ports can often help in that regard.
Gary
~~~~
This generation doesn't have emotional baggage.
We have emotional moving vans.
-- Bruce Feirstein
Similar Messages
-
I am facing a strange problem on new iphone 5 that I bought last week. The maps app and the places in photo gallery shows the pin and my location, however there is no information of locations. Tried to close the apps, phone restart, reset etc. I am accessing it via strong wireless connection and it works fine on other devices. Please help.
zapgrap wrote:
there is no information of locations.
Then no information exists. Use the Report a Problem button within the app to report it. -
hey iphone an iphone 3g and i only have about 13 apps and the yellow bar on itunes for my phone is way to big i deleted all my photos all my music every thing i ryed restoring ans all it still takes up space for sum reason ?? please someone help me
If Other (the yellow bar) is too big something is corrupted. The only solution (that I know of) is to restore from your most recent backup using iTunes (see http://support.apple.com/kb/ht1766).
-
i mean that i phone take time to open apps ,contact ,etc why? i close all apps and the problem still?
Try a reset by pressing and holding the home and power buttons for 15-20 seconds until the white Apple logo appears.
-
By default, on a mac keyboard F3 lets you see all the open apps and the such. However, I changed it so that I use those keys for keyboard shortcuts; But i'd like the normal F3 key to still work without me having to press FN.
rajlego,
in the Keyboard pane of System Preferences, select the Shortcuts tab, and then select Mission Control on the left-hand side. On the right-hand side, make sure that the Mission Control checkbox is checked, double-click on its current key combination (by default “^↑”) so that the key combination is highlighted, and then press the F3 button — that will set its shortcut to be F3. You can now press F3 to bring up Mission Control without needing to also press the Fn button. -
I can't open the app store, safari the mail app, youtube app and the maps app. they try to open then close very quickly. what can I do?
Try downloading another app - any free app - that seems to reset something and the apps may start working again. Try that first. If that doesnt work, try these steps
Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
Close all apps. Go to the home screen first by tapping the home button. Quit/close open apps by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner to close the apps. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button. -
can anyone help me with my apps on my itunes. They have separated for some reason. I have one section of 44 apps and the other has 121 apps. Only the top section will sinc with my ipod because at the side where it says apps, it is only showing the 44 apps and not the section at the bottom
Can you take a screen shot of the iTunes screen and post it? I do not really understand what you mean by different sections.
What model iPod and iOS do you have? Maybe the section that does not sync are not compatible with the iPod.
Were all the apps purchased with one account?
Do you have any Restrictions one that would prevent syncing? Settings>General>Restrictions. -
When I try and access March 2013 in Calendar the app simply closes. This happens if I click March in the month tape at bottom of screen or if I try swiping from February or April. Is there a fix, I've tried restarting the app and the iPad to no affect
See this discussion with the exact same issue:
https://discussions.apple.com/thread/4690697?tstart=0 -
How do you change the I'd on the log in screen when you want to update your apps and the I'd is wrong and the password is also wrong. HELP
Go to Settings>Store>Apple ID. Tap on the ID and sign out. Then tap on "sign in" and sign in with the correct account.
-
How do i remove the Tips app and the Health app that apple added to my iphone on the last update? Update 8.0.2? I didn't want these added to my phone. I have to remove apps every time there is an update. After the phone is updated I reinstall the apps I removed. After 8.0,2 there was not enough room for me to reinstall my apps because they added the Tips app and the health app. How do I remove them? When you hold your figure on the apps they added, X's pop up on all of the apps i've installed, but not on the ones that come on the iPhone and the ones that they added on this last update. Please help.
rocket6 wrote:
They force you to buy health insurance these days and now apple forces you to keep spyware apps on your phone.
Oh, knock off the fearmongering. None of those apps are spyware. Health stores all of its data on the phone. It will only back it up to your computer if you do an encrypted back up. The only data it collects on its own are steps, stairs and distance traveled. Anything else in it is information you've explicity authorized it to collect from anothr app you've installed. You're not required to put anything in Passbook, Podcasts, iBooks or Newstand. -
the itunes radio isnt showing up on the music app and the itunes store on my iphone 5. what should i do? help me please
Hello, Ninaxand.
Thank you for visiting Apple Support Communities.
If you are a US customer, try forcing all applications to close and power cycle the device. Test accessing iTunes Radio after processing these steps. I would also make sure cellular data is enabled for iTunes.
iOS: Force an app to close
http://support.apple.com/kb/ht5137
About iTunes Radio
http://support.apple.com/kb/HT5848
Cheers,
Jason H. -
When updating my iphone 4 for the first time I seem tohave lost all of my apps and the data on my apps. One of these apps was a camera and all of my photos are gone!! I had over 1000 pictures mostly of my children. I cant find them anywhere. Please help! How do i get all of my apps back with all of the data that was on them?? Thank you, LEC
app store - update - purchased - all/not on this phone - select the app you want to download by clicking on the cloud next to it.
-
My ipad mini is frozen in an app and the home button is stuck. Pressing the wake/sleep button does not bring up the red slider to turn the ipad off. Is there any other way I can reset the ipad? Can I remove the battery? and then put it back in?
barbarafromnl wrote:
Can I remove the battery?
No the battery is non removable.
Try a Reset ( No Data will be Lost )
Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
Wait for the Apple logo to Appear...
Usually takes about 15 - 20 Seconds... ( But can take Longer...)
Release the Buttons... -
Running my 3rd generation iPad on iOS 7.0.4, I saturated all the available iPad screen space (which would be the 15 home screens or desktop worth of space) with apps, and the apps that got bumped out of the last screen space mysteriously disappeared. Where are those missing quick lauch app icons now? The apps are still installed and can be searched/accessed through the finder, but they no longer have a user friendly access. How can I solve this problem?
Christopher Doryan wrote:
Hi Hexonxonx, thanks for trying to help, but next time please read the entire discussion, in oder to better comprehend what is being asked. The reason being is that your answer added nothing to what had already been mentioned.
Like I said, I was aware it was possible to access the apps through the finder, but the question revolved around how to recover the quick launch app icons for certain vanished apps.
Wow, kind of a snotty response to someone who was taking their own time to offer help. Whether you thought it was helpful or not, didn't deserve such an unkind retort. Maybe when you realize we all just users here trying to help others like you, who have issues and we don't get anything in return for the countless hours some people here spend offering that assistance, you'll maybe be a little less quick to be critical.
Just sayin.......
Oh and Meg offered the right answer. Put your Apps in Folders, which will create extra space for the apps which have disappeared. -
.. If the app is – in or out of background - (if in background NOT the first app) and the device locked – when you get a push message and DO NOT response straight away. let it fade off then, Later unlock, click the app icon (which will have a badge on it) and it fails to pop up my internal alert box and my notification message is gone(cannot get access to it in code).. other times it works . Including if you tap the messaeg from app centre. (this is all on a iPod 5.1.1).
Here is someone else with same problem http://stackoverflow.com/questions/7080266/receive-remote-notification-when-ios- device-is-locked-and-im-not-responding-immTell Apple
Apple - iTunes - Feedback
Maybe you are looking for
-
Can logic board die slowly, or is it black'n white?
My Macbook Pro 15" i7 of early 2011 seems to have a major problem related to the logic board. in a nutshell, in case you don't have time to read the details: The computer stopped starting up after quite a few restarts, AHT, PRAM reset, safe boots, ne
-
How do I save a date in the database? My code is as follows: int year = 2002; int month = 2; int day = 3; java.util.Date sdate = new java.util.Date(year, month, day); PreparedStatement ps = "INSERT INTO period_table(pe_start) VALUES (?)"; ps.setDate(
-
Why can't I text certain people without iPhones on my iPod touch
Why can't I text certain people without iPhones on my iPod touch how do I text people on a different kind of phone please help!
-
When I try and open the link to an article on the Epson Kowledgebase Firefox shows a large exclamation mark ! and the message'APPLICATION ERROR. If problem persists contact system administrator' . When I open the same link in Internet explorer it wor
-
Replicate Plugins DS 5.2
I'm a starter to LDAP and want to know how to create a new plugin from a existing one. I want to replicate uid uniqueness plugin to work as email uniqueness so that I can use two plugins uid and email uniqueness. I'm using DS 5.2 Please help !