[SOLVED]Something wrong with Locale, "ÅÖÄ" doesn't work in terminal.

If you have this kind of problem stated above in the title, or similar, here is what I did...
Make sure you have correct locale, you'll need a UTF-8 one.
As stated in the install guide(or beginner's guide iirc) do the following:
Uncomment  one of the locales in "/etc/locale.gen", it doesn't have to be language pacific if you're only after using UTF-8 which provides more characters than normal ASCII.
then run "locale-gen". Make sure to set your "/etc/locale.conf" to "LANG=en_US-UTF8" of course you can choose whatever locale you want not just "en_US-UTF-8". After that make sure to reboot, it may also work with just log-out and log-in again, but I did not reboot and neither log-out and when back in. If it still doesn't work, run "locale" and "locale-a" if the output is "C" in each column just redo what I stated above, if it still not work, then you have to consult the manual, wiki and if you don't find the problem use a search-engine and if you still don't find answer here on the forums, the people here is really helpful!
Last edited by kalle97 (2012-10-01 17:46:16)

" Okey I uncommented sv_SE.utf8 in /etc/locale.gen ...
You're supposed to uncomment "sv_SV.UTF-8 UTF-8", then run locale-gen (with sudo), not "sv_SE.utf8".
That's what I did.
https://wiki.archlinux.org/index.php/Be … ide#Locale
^ Except that you shouldn't use "echo" in this case. That command works well when you're logged in as root, but for sudo, not so much. Check the file with nano and you'll see that nothing changed. For sudo, use tee.
$ sudo tee /etc/locale.conf <<< "LANG=en_US.UTF-8"
Note: You don't necessarily need "sv_SV" for those characters to show up. Setting a "sv_SV" locale would make programs show up in Swedish instead of English - unless that's what you want. UTF-8 locales will cover those characters just fine (provided that the font from the terminal actually contains those glyphs, of course).
So you mean I can have en_US.UTF8 as locale but still write swedish letters? So the problem is with the font or somthing, not the locale?
If you still have problems, post the output of:
$ ls -l /etc/profile.d/locale.sh
$ curl sprunge.us -F sprunge=@/etc/locale.gen
$ curl sprunge.us -F sprunge=@/etc/locale.conf
$ locale -a
$ locale
Well, I did as the guide told about locale.conf, it doesn't seem to work, even if "locale" outputs correct info now, but I'll try with restarting the X server too, just in case.....

Similar Messages

  • I have a Mid 2009 Macbook Pro 13 with no restore disk; it has OS 10.8.4 I believe there is something wrong with the OS due to I can not install flash player to view Youtube videos and the when we plug in a Bose headset the sound out will work sometimes

    I bough a used Macbook Pro mid 2009 that came with OS 10.8.9 it didn't have a backup restore disk with S/N W8******66D
    When trying to view some youtube videos; a window would pop up saying "it needs adobe flash player is required for video play back get the latest flash player" but after downloading the file and during installation would have errors and will not installed.....tried to reboot and install again.....but still the same.
    The othe thing I had noticed is when using a good Bose headset with mic the sound output would noticed the headset and then switch from headset to Internal speekers and headset.....thinking that there might be something wrong with the plug in port of the computer or the headset.....the headset works with no issues on my iPad so there must be something wrong with the computer.....tried to move the plugin around the port but no change....while the headset is plug in can hear a short clicking noise and the sound would get lost and back again......but with nothing plugin to the port there is no issue with the sound or mic.
    Thanks for your feed back......it looks like I have two different issues one is a software issue and the outher is a hardware issue
    <Edited By Host>

    The "restore disk" is built into the Mac. See About Recovery.
    Need more specifics about what error messages you got while installing Adobe Flash.
    However, you can almost avoid Flash altogether by setting YouTube to play the HTML5 version instead.
    Click the Try something new! link at the bottom of the YouTube page.
    I don't know about the sound issue. Might be hardware as you think. Try other headphones to check.

  • Just got an Ipad and am working on setting it up.  the one issue I am having with it is my screen will not rotate no matter what I do to the settings, I can't figure out if the settings are wrong or if there really is something wrong with my Ipad.

    just got an Ipad and am working on setting it up.  the one issue I am having with it is my screen will not rotate no matter what I do to the settings, I can't figure out if I have a setting wrong or if there really is something wrong with my Ipad.  any help would be greatly appreciated.

    Double click the home button (square)  and all the things you did are there.keep sliding the bar that will come up on the bottom to the left till it cant go anymore there should be a icon looking like this.press that and it should work
    Good luck hope it works.

  • My New ipad3, when i click onthe camera app, the front camera works but the other camera only shows a black screen ! Is there something wrong with my iPad ?

    My New ipad3, when i click onthe camera app, the front camera works but the other camera only shows a black screen ! Is there something wrong with my iPad ?

    Try a Reset [Hold the Home and Sleep/Wake buttons down together for 10 seconds or so (until the Apple logo appears) and then release. When the screen goes blank power On again in the normal way.] It is absolutely/appsolutely safe!

  • My ipod is cracked and it chipped away a little more last night and that's when my wifi stopped working. My wifi works on every other device in my house except for my ipod. Is there something wrong with my ipod?

    My ipod is cracked and it chipped away a little more last night and that's when my wifi stopped working. My wifi works on every other device in my house except for my ipod. Is there something wrong with my ipod?

    Does the iOS device connect to other networks?
    Does the iOS device see the network?
    Any error messages?
    Try right next to the router
    Do other devices now connect?
    Did the iOS device connect before?
    Try the following to rule out a software problem:                 
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on your router
    .- Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network       
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem and it does not connect to any networks make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar
    Could it be this?
    iOS: Wi-Fi or Bluetooth settings grayed out or dim
    One user reported that placing the iPod in the freezer fixed the problem. A trick that works frequently with iPhones:
    Settings > AirPlane Mode ON, Do Not Disturb ON
    Power down and wait 5-10 minutes
    Power up
    Settings > AirPlane Mode OFF, Do Not Disturb OFF
    If not successful, an appointment at the Genius Bar of an Apple store is usually in order.
    Apple Retail Store - Genius Bar

  • My wifi suddenly wont work on my i4s. i already reset network, forget network, restart, and put it in the refrigerator (coz some people said maybe theres something wrong with the heat of wifi inside ). what should i do?

    my wifi suddenly wont work on my i4s. i already reset network, forget network, restart, and put it in the refrigerator (coz some people said maybe theres something wrong with the heat of wifi inside ). what should i do?
    but sometimes, it can read,but wont connect.
    sometimes it even wont read  the wifi .
    sometimes, when it can connect, the password already correct, but it didnt want to connect.
    it suddenly happened, without i changed the seeetinggs or else.
    i read every solutiuon on google., etc2, and tried the way, but it still wont work.
    anyone can help ? pleasee ;(

    This is a totally absurd suggestion, except that it worked for me with my iPad.  Forget the network, then when asked for the password, enter a wrong one.  Try again and enter the correct password.  Good luck.

  • I just got the new iPhone 4 today, and when I make calls, the screen doesn't lock, leading to accidental muting and speaker phone. Is there something wrong with my phone? Can I fix it?

    I'm just concerned that there's something wrong with my new phone.

    Do you have a case on it?
    If so, remove and see if it helps.

  • Merged clips - are they all bugs or is there something wrong with my system?

    I have to use merged clips to sync video and audio because making every clip a sequence is too cumbersome and doesn't give me thumbnails to help choose my shots. Apparently, merged clips are very buggy. I can't use colored markers because they don't get saved on merged clips. I can't use match frame on merged clips because they don't find the correct frame. I can't set a poster frame on a merged clip except with the "in" marker. Are all those problems bugs, or is there something wrong with my specific system. I trashed preferences to fix another problem unrelated to merged clips, but that didn't solve any of the clip problems.

    I don't believe there's anything wrong with your system.

  • Is there something wrong with the IOS 6 update?

    Ever since I downloaded the iTunes IOS 6 update on my 2nd-gen iPad, I haven't been able to check my list of purchased apps in the purchased section the iTunes store app. I tried logging out & signing back in and I tried rebooting my iPad, but neither of them worked. Can you please fix the IOS update? Thanks if you and keep up the incredible work!

    Never mind, there's definitely something wrong with the IOS 6 update. Sometimes the App Store doesn't show that an app has been purchased & it only shows the price of the app. Other times, it doesn't show that an app is currently being downloaded or that it's installed.
    Still though, Apple, you really do need to fix this IOS 6 because the Purchased Apps section won't finish loading & display the ones that have been purchased. Also, you need to improve the App & iTunes gift card payment method because if you use a credit card & then switch back to gift card, it doesn't remember how much leftover money you had before & you can't combine the change from the previously-used ones together into one lump of money.
    32 cents isn't enough to buy anything, not even a $0.99 app. The money is going by without being used and its a waste of money! If it's possible, please fix these two problems. Thanks if you do & keep up the incredible work!!!!!

  • Is something wrong with my headphone jack?

    Okay, I was using the stock headphones fine but then the sound only came to the left headphone unless I twisted the headphones around a lot. Same thing happened in my car, I had to move around the cable a lot to get sound to both of my speakers. At first I thought this was just a coincidence and everything I bought was crap. I got a new set of headphones last night thinking it would solve my problem (at least for the headphones) but nothing has changed. Sound only goes to the left ear unless I twist around the headphone cable and connecter-thing.
    Is something wrong with my iPod? I would send it back but I got it free from RadioShack with no receipt so I can't actually prove that I bought it...any help or suggestions would be greatly appreciated. Thanks.
    -M

    Sounds like there is definitely something wrong with the headphone jack on your iPod. From your tale, it sounds like the head phone jack may be bent inside resulting in a poor connection when you plug your head phones in. The only thing I can suggest with this problem is to see Apple about it.
    But before you jump to this conclusion, maybe there is some dust in your headphone port on the iPod resulting in a poor connection, to see if this is the problem, take a small piece of paper towel and roll it up really small and gently swab the inside of the headphone jack with it removing any foreign material that could be inside. Hope this works.
    Regards--- jgurbisz
    If I helped.... please mark as helpful or solved.

  • Cropping pictures with Viewer doesn't work.

    Cropping pictures with Viewer doesn't work.
    Selecting < or ~ 12 pictures. (picture size are Snapshots with iphone resolution) ->Viewers opens and display them. -> Russian roullette between cmd+k or the little crop button. No indication which one will process a crop or which not. -> Both result in picture selection disappear with no crop.
    Selecting > 12 pictures. (picture size are Snapshots with iphone resolution) -> Viewer opens and display them. I crop them one by one with same Russian roulllette behavior between cmd+k or the little crop button. -> Closing Viewer. -> Pictures remain like they've been before. Not cropped.

    I just tried what you described (although I can't really fathom why you would describe it as Russian roulette (with a variable number of L's). Unless you've been drinking a lot, which is what people are usually doing when they are playing Russian roulette. Your post was hard enough to decipher without that.
    Anyway, my cropping was saved each time. I think there's something wrong with your Preview.app. Have you changed anything about the autosave functions of OSX?
    I would try:
    Boot into your recovery partition (restart, hold down ⌘R until you see the Apple logo), and use Disk Utility to repair your hard drive. Repair permissions too while you're there. OS X: About OS X Recovery
    if that doesn't help, then I'd reinstall Mavericks over your current installation.

  • Could there be something wrong with my 4S dock connector?

    So a while ago my iPhone's usb cord stopped working, so I bought a new one of the same type. Then that one broke, but I found out it still charged when I plugged my iPhone in, although the lightning icon that appears next to my battery onscreen didn't appear and it charges extremely slowly (like maybe 20% an hour, 25% at best, and around 10% at its slowest - and this is when my phone is off.) One of my relatives found out the wires inside the usb cord were messed up or something, and something of the usb cord wasn't tight enough so if the cord got pulled too hard it would get mess up the cord's wires again and stop charging my phone. Even then, it still didn't charge like the way it did when I first got it (icon next to onscreen battery, quickly, etc.)  Soon enough, the cord stopped working again and I got so tired with it I just decided to buy a whole different type one. Here is the link to it: https://www.opensky.com/3d-luxe/product/iphone-4-4s-cable-usb-charger-sync-cord- 10-feet-new-steel-design-strongest-cable-on-market
    This time, the icon still doesn't appear, although it does charge fairly faster than my broken ones last time (it charges about 22% in half an hour now when my phone's off). Then I tried plugging the cord into my laptop, but the usual iTunes did not appear, and my laptop notified me that the device was not working properly, and if I plugged it back in again and it still doesn't work then there may be something wrong with my device. Now I'm really confused because this cord is brand new, so how could it not work? I'm certain my laptop is working perfectly fine, so the only two possibilities that I can think of now is either the dock connector is not working for some reason, or the usb cord is not working. I really doubt the usb cord is not working, I can't think of any reason why it wouldn't.
    Please help me on this. I've only had an iPhone for 3 months and it's already having so many problems.

    If you have only had the phone (from brand new) for 3 months, it is covered by the 1 year limited warranty.  You should make an appointment at a genius bar to have the device examined.
    -Regarding third party cables - they do not always work.
    Make a Genius Bar Reservation (or cancel an existing reservation)
    http://www.apple.com/retail/geniusbar/
    Sign in using your Apple ID

  • My phone wont let me download anything even free stuff or update.it keep saying something wrong with my billing info so i fix it but still cant download.I signed out sign back in still nothing please help i'm getting angry

    My phone wont let me download anything even free stuff or update.it keep saying something wrong with my billing info so i fix it but still cant download.I signed out sign back in still nothing please help i'm getting angry

    If it says your billing info is wrong that means that your credit card issuer is refusing to approve your account. You will have to solve the problem with your bank or credit card company.

  • Is there something wrong with my battery?

    Hi everyone! I have an Iphone 5 that was newly "remodeled" for tmobile. I was wondering if there was something wrong with my battery after a recent decline in performance. I am updated to the latest iOS and I recently restored all of my settings on my phone in an attempt to increase battery performance, leaving only wifi on location for weather. With my current usage and standby, do I have something to be concerned about? I know some individuals that have my usage and will have a standby time of over a day. Advice and opinions is very much appreciated.

    Usage and Standby the same means that there is an app on your phone that is running continuously. Usually its an app choking on bad data, or trying to send and failing. There are a few troubleshooting steps you can try:
    Mail is a common culprit, especially if you have a Microsoft Exchange email account. If you do, go to Settings/mail,contacts,calendar, tap on the Exchange account, and turn off the switches. Then back out of settings and restart the phone (hold HOME and SLEEP until an Apple logo appears). Then turn the switches back on. This clears the mail, contacts and calender queues. It will take a while to resync content, so don't check battery condition until the resync is finished. And its best to do this with a WiFi connection as a lot of data may go by.
    If that doesn't fix it do the same with your iCloud account, and any other Push accounts you may have (Yahoo, gmail, hotmail, AOL).
    Next, look for apps that run in background (most of the apps in the Quick Launch ribbon do not run in background, but a few do - music and video streaming apps, Facebook, Twitter, Yahoo Messenger, Whatsapp, etc). Kill them in the quick launch ribbon by pressing HOME twice to display it, then hold your finger on any app until they all wriggle, then tap the "-" on each one. It won't do any harm to kill them all.
    Note that if you have Google Maps installed and you asked it for directions it won't stop tracking you until you actually kill it in the Quick Launch ribbon.
    good luck and report back!
    BTW, you will see a lot of posts blaming some specific version, now 6.1.4 (because it's the newest). But you will see just as many reports for 6.1.3, 6.1.2, ...5.1,...4.1...3.0, etc. It's nothing wrong with the version (except for 2.1, which had a real bug), it seems to be caused for some people by the upgrade process itself. But there are also many people who encounter this symptom far away in time from any upgrade.

  • There's something wrong with my iphone 4s

    So there's something wrong with my iPhone 4s.
    Just recently it worked fine and all of a sudden it started going insane so what I did was turn my phone off for five minutes then back on. When I did my imessage won't work nor does my app called Line won't allow me to log in claiming my network is not working properly (when in fact it is because I used safari and searched five websites and it works fine) then I tried my imessage and it still won't work so I went to my settings and when I did it said my imessage was off so I switched it on and it was asking for my apple ID and I gave the correct information, making sure to type the password slowly so I won't make errors but still it claims I have the wrong password. I have other apple IDs and I used them and they all have the same password and still nothing. It's really annoying and I want it to be fixed soon because I've tried everything, I've tried putting it on airplane mode then putting it off, turning off imessage and restarting then turning it on again, I can't even log on to my apple ID here properly a few seconds ago and I restarted my phone already and shut it off too and still no difference.
    I'm hoping someone who can help me, please  nothing that requires deleting files because my files are important I do remember backing up on iCloud but I'm not quite sure when I did that and so I'm afraid of using that back up file.

    Hi Rsh Ahmed,
    Thanks for visiting Apple Support Communities.
    If you're not able to connect to wi-fi networks after updating, try the steps in our wi-fi troubleshooting article:
    iOS: Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/kb/ts1398
    All the best,
    Jeremy

Maybe you are looking for