Unicode goes messy when switching from terminal to X and backwards.

This happens in my OU Linux (locale - RU) installation over virtualbox in Win7. The same is at over 10 other computers.
Steps to reproduce:
*assume, we are in X now.
1. ctrl-alt-f1 to switch to terminal.
2. Then write some unicode to the screen, for example `man ls` (it is in cyrillic, 'cuz the locale is RU).
3. ctrl-alt-f7 to go to the X enironment.
3. ctrl-alt-f1 to go to the terminal again.
4. now we see, that the unicode support goes down.
Temporary fix: do `unicode_start` each time after coming back to terminal.
Any ideas to permanent or auto-fix?

The Linux kernel includes a bare bones keyboard and screen driver for the console. The keyboard driver sends characters to an application, the application requests from the screen driver some output on the display, and in the path from the keyboard driver to the application and further to the screen driver, the characters are nothing but codes. And since in the end we want to see their little pictures (glyphs) on the screen there must be a way to associate the glyphs with those codes - font.
There are two screen modes, single byte mode and UTF-8 mode. By issuing: unicode_start you switch both keyboard and console to UTF-8. In UTF-8 mode, the bytes received from the application and to be written to the screen are interpreted as a UTF-8 sequence, turned into unicodes and looked up in the unimap to determine the glyph to use.
That's why I thought vt.default_utf8=1 kernel parameter might help. Well, if it does not, sorry, I don't have any better idea. Perhaps someone else will have a better answer.
I'm not sure if the below still applies to Xorg:
http://www.faqs.org/docs/Linux-HOWTO/Keyboard-and-Console-HOWTO.html#s7
XFree86 1.3 saves the fonts loaded in the character ROMs when started, and restores it on a console switch. Thus, the result of setfont on a Virtual Terminal is wiped out when you go to X and back. Using setfont under X will lead to funny results.
I know I can use terminal from X, but as this bug present, it should be fixed.From what I can gather the switching to the VT text console is a meant to be a lightweight terminal for the purpose of troubleshooting. As such, the current behavior could be desired. The user configurable files to maintain the Linux system are all US-ASCII.
Edited by: waldorfm on Oct 27, 2010 5:50 AM

Similar Messages

  • Server not found when switching from 4g to wifi and vice versa.

    I've had this issue for a while across multiple phones and multiple versions of Firefox for Android, and it does not happen with any other browser (which is upsetting). Whenever I am surfing the web and have multiple tabs open, and I switch from 4g to wifi or vice versa, I always get a "Server not found" error on both existing tabs and new tabs. This is an annoying issue that I am surprised to see hasn't been fixed. The only way I've been able to fix it is to quit and relaunch the app. I have tried removing plug-ins and reinstalling, but it has not helped.
    Anything I could do to alleviate the issue?
    LG G2 and Samsung Galaxy Note 3. Both on Android 4.4.2
    Firefox for Android Ver. 35.0.1

    ''Roland Tanglao [[#answer-698502|said]]''
    <blockquote>
    Hi scruffy90:
    You wrote "LG G2 and Samsung Galaxy Note 3. Both on Android 4.4.2 Firefox for Android Ver. 35.0.1 "
    I just tried switching between HSPA+ aka 3G and WiFi on a Galaxy S5 running Android 5 and have had no issues but I think this may have been an issue in the past (I did a search for a bug in bugzilla.mozilla.org but couldn't find anything).
    Are there any other details you could provide that could help us debug?
    e.g.
    # Are you using a proxy?
    # Who is your WiFi provider?
    # Have you tried other WiFi (e.g. the Wifi both at home and work)
    Cheers!
    ...Roland
    </blockquote>
    Hello Roland,
    No proxy on the phone or wi-fi network.
    My ISP is Time Warner, but I supply my own router (Linksys e4200)
    And this happens on every wi-fi network, at home and away from home.

  • GNOME | Desktop artifacts when switching from a virtual terminal

    When switching from a virtual terminal to the graphical environment I observe artifacts on the desktop. When then I change wallpapers, the artifacts disappear. If I set the display mode for the desktop wallpapers (in the GNOME tweak tool) as “None” the artifacts don't show up at all.
    How can I tackle the problem?
    GNOME 3.14.2; nvidia 304.125

    You answered my expectation en tu previous post.
    BBM Channels  PIN: C0007093A
    Do not forget to give LIKE    Those people who help you and advise you about your doubts.  if the review has been SOLVED** # 4LL  #ÉliteRoad  Make a backup of your BlackBerry
    BlackBerry Protect and  BlackBerry Link constantly.  #ichooseBlackBerry10 Gutijose14 Forums Veteran I

  • Blackberry Hub slow when switching from any account to an Exchange Activesync account

    I'm experiencing a very slow hub when switching from any account (facebook, LinkedIn, Whatsapp, Gmail, etc...) TO my work email using Exchange Activesync. When switching back from Exchange Activesync TO any other account the issue is noy there. It basically takes a couple of minutes to enter the Exchange Activesync acocunt, and looking at the Device Monitor, CPU section, seems like the Hub process is constantly at 50% CPU usage during this time. This is really causing me lots of issues, as of course I switch between accounts quite frequently. Any suggestions are welcome. Thanks for the support!

    I'm having the same issue.  What can be causing it.
    It was fine using a Z30 until 10.3.1.1865 was recently updated.
    Switching between all other accounts is fine just when going to my exchange account (or the main hub view)

  • Help! mail dissappears when switching from junk training to automatic mode

    I'm a new Mail user recently switched from 20 years of Eudora. I'm using Mail with a standard POP account. I've had no trouble setting up mailboxes and importing my old mail.
    I've been using junk filtering in training mode for the past few weeks and want to switch to automatic mode. When I tried doing this, all of my inbox messages suddenly disappeared. I quit mail and rebuilt my inbox and found myself with thousands of duplicated messages. I'm using Andreas Amann's remove duplicates script to clean up my inbox (it's taking forever but working!)
    My inbox has about 7000 messages currently. My practice with Eudora has always been to keep the current year in the inbox and archive at the beginning of the new year. I'd like to continue this with Mail.
    A couple questions:
    1) will rebuilding a mailbox cause duplicates? When should one use rebuild?
    2) do I just need to be more patient and let mail do its thing when switching from training mode to automatic?
    3) is 7000 messages considered too many for a single mailbox?
    Any help much appreciated. Many thanks!
    --dhl
    Powerbook 15" Aluminum   Mac OS X (10.4.8)  
    Powerbook 15" Aluminum   Mac OS X (10.4.5)  
    Powerbook 15" Aluminum   Mac OS X (10.4.5)  

    1) will rebuilding a mailbox cause duplicates?
    No.
    When should one use rebuild?
    This question doesn’t have a simple answer in the case of Mail 2.x and POP accounts.
    2) do I just need to be more patient and let mail do its thing
    when switching from training mode to automatic?
    I think so.
    3) is 7000 messages considered too many for a single mailbox?
    There is a limit on the overall size of individual mailboxes rather than on the number of messages stored in them -- see Overstuffed mailbox is unexpectedly empty.

  • Upgraded to 4 and have noticed that when switching from page to page you get an annoying blink before the next page displays. Any suggestions?

    When switching from tab to tab, Firefox 4 has a tendency to blink before displaying the new tab. Just a millisecond or so but can be annoying.

    If that doesn't work, try power cycling your router, printer, and your iPad/iPhone in that order. To do this, follow these steps:
    Unplug the router and printer from the power and shut off the i-devices. Let them sit for about 30 seconds and then plug just the router in.
    Once the router is completely back online (usually takes about 30-60 seconds) plug the printer in. Wait until it is back on its home screen.
    Turn the i-devices on.
    Try to print again.
    Let me know if this helps!
    If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

  • I have iWeb '08 and just switched from Mobileme to GoDaddy and using Filezilla.  Now when I make changes through iWeb it doesn't actually publish to my desktop folder.  In fact, it doesn't publish at all but says that it did.

    I have iWeb '08 and just switched from Mobileme to GoDaddy and using Filezilla.  I also just upgraded to Lion.  Now when I make changes through iWeb it doesn't actually publish to my desktop folder.  In fact, it doesn't publish at all but says that it did.  How can I make changes in iWeb and publish to a folder?

    Choose the destination in the publish settings page as shown in the second example on this page...
    http://www.iwebformusicians.com/iWeb/Publish-Website.html

  • DW CS3 Crashes When Switching from Design View to Code View

    The page opens in code view, and when I try to switch to
    either split or design view, the application freezes.

    read my reply
    Date: Thu, 30 May 2013 20:27:49 -0700
    From: [email protected]
    To: [email protected]
    Subject: dreamweaver cs6 crashes when switching from design to live view
        Re: dreamweaver cs6 crashes when switching from design to live view
        created by Preran in Dreamweaver - View the full discussion
    Hi,
    Can you try the solutions mentioned in this document?
    http://helpx.adobe.com/dreamweaver/kb/crash-live-view-dreamweaver-cs5. html
    Thanks,
    Preran
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5367198#5367198
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5367198#5367198
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5367198#5367198. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Dreamweaver by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Dreamweaver cs6 crashes when switching from design to live view

    dreamweaver cs6 crashes when switching from design to live view

    read my reply
    Date: Thu, 30 May 2013 20:27:49 -0700
    From: [email protected]
    To: [email protected]
    Subject: dreamweaver cs6 crashes when switching from design to live view
        Re: dreamweaver cs6 crashes when switching from design to live view
        created by Preran in Dreamweaver - View the full discussion
    Hi,
    Can you try the solutions mentioned in this document?
    http://helpx.adobe.com/dreamweaver/kb/crash-live-view-dreamweaver-cs5. html
    Thanks,
    Preran
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5367198#5367198
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5367198#5367198
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5367198#5367198. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Dreamweaver by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • I am trying to switch from video to camera and when I push on the photo button, it remains on video.  I've tried turning it on and off, but that doesn't help.

    I am trying to switch from video to camera and when I push on the photo button, it remains on video.  I've tried turning it on and off, but that doesn't help.  Any suggestions?

    Tapping the words don't work in iOS 7. Just swipe up or down anywhere on the screen until the mode that you want to use appears in yellow type on the right side. Yellow type indicates the selected mode.
    Remember - swipe up or down to get to the mode that you want to use.

  • HT4993 when switching from my htc evo to the iphone 4s they said all my photos and videos would transfer over time, but after 6 hours still nothing has transfered.  Anybody have this issue or know what I can do so I won't lose all my pictures and videos

    When switching from HTC evo to iphone 4s on sprint service the attendant said all my music, photos, and videos would transfer after some time.  Does anyone know if this is true, or has anyone had this issue happen to them?  It has been 8 hours since the switch and only my contacts transferred right away.

    Well i wouldn't see why your photo's, videos and music would trasnfer. As that is a android device, there is no way to have them transfer over the air to the iphone. 
    Contacts probably came from google. Your videos and such you would have to move them to PC then to the iphone. Same with your music.

  • Outlook 2010 disconnects when switching from wired to wireless

    A Windows 7 Pro 64bit laptop with Outlook 2010 keeps disconnecting from the exchange when switching from wired to wireless or vice versa. Then it wont reconnect. Restarting Outlook occasionaly works, not all the time.
    Holding CTRL and clicking the Outlook symbol in the notifcation area they connection status and reconnect doesn't work either.
    The only way it will reconnect apart from restarting the machine is to restart the Microsoft Exchange Information Store service on our Exchange server.
    Any ideas?
    Thanks,
    JagJag363

    Hi,
    Since there is a period of time without any respond, I will
    temporary mark the reply as answer to closed this thread.
    And if you come back to find it doesn't work for you, please reply to us and unmark the answer, this thread will be re-opened.
    Sincerely,
    Max Meng
    Sincerely,
    Max Meng
    Come back and mark the replies as answers if they help and unmark them if they provide no help.

  • Problem loading safari webpage after switch from EDGE to 3G and vice versa.

    ok, very simple question
    i'm on edge, i want to go on safari, so i enable 3G. after that i go on safari and try to open a webpage. even after the 3G icon displays on top, it still takes a very long time before the webpage starts to load. Sometimes i get a message saying Safari could not open the page because the server stopped responding. IS THIS NORMAL?
    also if im on 3G and switch down to EDGE and then open a page in safari i get a message saying Could not activate cellular data network, even though the page loads anyway. IS THAT NORMAL?
    Message was edited by: Stevendo

    are you on 4.0.1?
    if so then this of course is not normal but it is also happening to me
    ill be at home and have 3G on 4 bars and i try to load a page on safari and nothing happens, then i switch it to edge and it connects, but like u when switching from 3G to edge i get those messages.. also i noticed that this only happended after i updated to 4.0.1 and i NEVER got these problems b4 on 4.0 and to make things worse.. in order for my 3G data to work i have to make a phone call, hang up, then ill get connectivity on 3G..
    so the fix... i dont kno??
    but im suffering like u...

  • I am looking to make the switch from pc to mac and have been eyeing the MBP 13". I would like to know whether it is fine to add RAM and SSD myself? any compatibility or warranty problems? what brand/type of RAM and SSD is the best fit? thank you.

    i am looking to make the switch from pc to mac and have been eyeing the MBP 13". I would like to know whether it is fine to add RAM and SSD myself? any compatibility or warranty problems? what brand/type of RAM and SSD is the best fit? thank you.

    Chamar wrote:
    I'm possibly wrong here but I suspect opening a brand new MBP to add parts yourself will void the warranty.  It is probably in the small print.  I certainly would not risk it for an expensive Apple product.
    Some (Windows) laptops have easy access to memory and disk slots that do not necessitate taking the complete back cover off.  However, Apple does not make life easy for you.
    However, if you are going for a 'used' machine it is probably worth a try.
    Not possibly, definitely wrong, Ram and Hard Drive are considered user replaceable and will not void the warranty if changed.

  • I received an error message in Lightroom 5 , Lightroom encountered an error when reading from its preview cache and needs to quit

    I was wondering now that I deleted my preview cache after receiving the lighgtroom encountered an error when reading from its preview cache  and needs to quit  , light room 5 opened fine now , but  I now have no previews showing  up , all I get is blank gray boxes ...  have  I lost everything ?
    how do I get the pictures or previews back ...all my folders I had catalogued , now show only grayed boxes where the previews were ...  can I get this back ?

    I will check for the meta data.. as to hows this adobes fault....first let me ask do you work for or get paid for by adobe?  If the answer is no, which i presume it is...then that answers it... how is it , or better yet why is it a billion dollar company, has or offers no support, no phone number, no email nothing...but depend on third party people who may or may not know or give the correct info to help, and do this free, all the while adobe makes $$$ and runs smaller companies that may have actually better products by getting or buying off reviews etc..that only rave, but never mention issues...the issue im having has been reported by adobe users since version 1, yet has not been addressed or even mentioned...why shouldusers get little true support from adobe, get a product that has un addressed issues is messed up...it would be like ford making newer vehicles say a f150, advertising all the bells and whistles , but knowing since their 2008 model  that if you go over 70 mph for more than 100 miles the engine will just shut off, then have know way to contact them to solve the problem...had no mechanics to fix it...no warranty...that would be insane...but yet companies like adobe and microsoft do this all the time, but since its notlife threatening as driving a truck would be somehow we accept it as ok....yet it sickens me the hardearned money spent on their products, its an investment,  like whether or not to go canon or nikon..your investing in the company its not easy to switch once you make that intial choice...  adobe and microsoft continously advertise all the so called (al beit meaningless) upgrades or improvents which are more fluff than  worth while improvent, but the way they present them you feel you need them...if they went back to the true ethics of buisness and american pride they would focus moe money and attention to customer service,  and truly improving the product rather than how to sell more...but then they know like my camera example once you choose your theirs...sad...i had an adobe salesman out right lie to me and misrepresented a product, as i was having an issue getting sound to work in creating a video of my granddaughters birth...i was using an older version, told him all the info , he said if i upgraded i would have no trouble, so i did...the sound still didnt work . Then they suggested another program to convert the files more money down...the other company also makes video editing programs, once that work...and cost less...but i am all tied up in adobe spending hundreds all ready...sad ...very sad...now that ive had some issues and have gone back and done more researching i see all tge issues, many go back 10 plus years and have yet to be addressed...yet many otherless known third party companies had similar issues, corrected them , are cheaper, have support teams but arent pushed in every photo magazine etc...and arent known where giants like Adobe that dont address there issues have or offer no Adobe paid support, yet through their money and muscle to dominate magazines, and web, by controlling how things are precieved....sad in deed...the more i learn, and experience the sadder things are....but enough complaining sadily im invested in adobe for now till i get rich,  just want the crap to work...so i can get my cherished pictures , once in a lifetime pics of my granddaughter  back...to bad people have to place faith in a company and risk loosing all the pictures that mean something to them,and realize the comoany only truly cares about $$$...sad

Maybe you are looking for

  • F110 bill of exchange: error FZ731 "...requires payment before due date"

    Hi everybody. I'm facing an issue that is driving me crazy <:-) I want to configure a payment method of type "bill of exchange" (in Spain, "pagaré"). I have several due invoices (due dates: 30/11/10, 31/12/10...), which have this payment method. Some

  • Does AppleTV sync both the HD and SD versions?

    Hi, When you sync AppleTV with iTunes on your MAC does it copy SD versions of a TV shows to AppleTV along with the HD version? My iTunes on my MAC is appears to be showing that the AppleTV has both, but I'm not sure. Cheers.

  • Apps for showing off high res photos

    I often do talks about my photos and previously being a Windows user just used windows photo viewer if I wanted to flip though them one by one and  Photos to exe if I wanted to make a high quality movie. Two months ago I got a retina Mac Book Pro and

  • Forgot the password of my MacBook Air

    I forgot the password of my Mac book air can you help me log in using my Apple ID

  • CallableStatement problem

    hey experts, I have created one application in JSP and 've used CallableStatement.. but the problem is I am not able to retrieve the correct values from database.. so please let me know where I am going wrong..here's my code:::: Connection con8 = Dri