Korean characters fall apart in Dartpad - dart

Korean characters fall apart when I use Dartpad
'가나다' shows as 'ㄱㅏㄴㅏㄷㅏ'
I use ipad with a bluetooth keyboard. They don't seem to be causing the problem here because it works fine on other websites. The characters only fall apart in Dartpad. Has anyone experienced similar problems?
I tried disconnecting the keyboard (also deleted it from the previous list of devices connected to the ipad)
Also tried switching off various options regarding the keyboard (CapsLock language toggle option)

Related

iOS - How to make custom keyboard extension work with physical keyboard

I have had this question for a long time and I tried to search it in iOS 10 APIs but I couldn't find any, if anyone knows the corresponding APIs, please help here.
So I have an iOS custom keyboard for Mandarin and it requires selecting word after some inputs.
Google's custom keyboard GBoard now supports Simplified Chinese and it works with iPad Pro Smart Keyboard and it will display a list of candidate words right below the cursor as shown in this video.
GBoard Simplified Chinese Input
But I couldn't find the corresponding API to make this happen for my own custom keyboard extension.
So 2 questions here:
Is it doable now to make a custom keyboard extension work for external physical bluetooth keyboard, and how? Not iPad Pro Smart Keyboard but generally using Apple bluetooth keyboard with say an iPad Air.
If #1 it not doable now, how can I make my custom keyboard work like GBoard so that when the user types some english chars, the candidate list will appear right below the cursor and then use arrow keys to navigate and enter to input.
Much appreciated.

iPhone web application : the virtual keyboard opens unexpectedly

I am having a very weird issue on an iPhone and I would like to have suggestions on the best way to troubleshoot. My web application works fine for a moment then suddenly all text fields and buttons will have no effect, but only to open the virtual keyboard.
For example, a "delete" button which used to display a "yes/Cancel" modal will only make the keyboard open, the modal won't show up... When I reload the page, everything is working as expected again.
I am testing with an iPhone 6 and Chrome.
Did someone already encountered an issue like that?
I have absolutely no idea how to track down this behaviour and all suggestions are welcomed, What do you suggest I should look in priority?
This issue was coming from a bug in a version of Chrome I was using at that moment (I have no idea which one, since my phone has regular automatic updates).
I strongly advise to have always at lease two different platforms when testing websites!

Zebra GK420d printing some barcodes fuzzy

It looks like the barcode is being dithered. I had a similar problem on another computer. Then, I just turned dithering off. I've done that here as well but the problem persists. Some barcodes print clearly but others that have more characters print fuzzy. They appear fine onscreen and print fine on other printers.
On the one computer, it prints fine so I don't think there's actually anything wrong with the printer, just the settings. I've even tried exporting and importing settings. That doesn't help.
In chrome on the good computer, I hit print and everything works fine. If I use the system dialog print settings, it fails. Even if I just open the preferences and press OK, it will still come out poorly.
After beating my head against everything I could think of, all I had to do was turn off the margins from within the print options. Admittedly there are other weird things going on but as long as it will work for what we need, I'm fine with that.
The margins were causing the barcode to be scaled. The scaling is what was messing it up.

ios - iOS 7 UITextView is slow after typing lots of text

I'm having trouble with a slowdown that occurs in UITextView on iOS 7 when typing lots of text. I put a tracer in NSLayoutManager and identified that drawGlyphsForGlyphRange runs N*2 times, where N is the number of times your lines word-wrapped.
Here is the sample code:
https://github.com/philipkd/UITextViewSlow
To reproduce the problem run it on an iPad and attach a physical keyboard. Mash the letters and the space bar for about 15 seconds, and notice it slows down. Then when you try to type normally, it's really slow. That's an extreme example, but if you just try typing two paragraphs at a reasonable speed, it'll jam up.
This is not a problem with UITextView on iOS 6.
Turn off Background App Refresh in Settings General. Also, get rid of NSLog--they slow down beyond what it takes them to print.
I was able to reproduce the slow down effect on iPad under IOS7. In fact IOS6 did not have Background App Refresh.
I believe Apple aims for top of the line models, all others have to adjust.
Is the slows down happen when you plugged in (Xcode debugging) your ipad to the macbook/iMac? If yes, try to unplug the cable and try it again with the cable unplugged, see if it still slows down or not. If not, then it only happen when debugging process. (It's just my guess, since I'm not owner of an external keyboard)

iOS: MPMoviePlayerController text doesn't match language

My issue is that MPMoviePlayerController is showing English text when I switch the device language to Arabic. I do have Localization enabled for both English and Arabic, and Localizable.strings for each.
The Done button, Loading... text and the options are all still in English, but apparently these have been localized for different languages. I can't seem to figure out how to get the English text to switch to Arabic (or if it is actually supported).
A similar question has been asked before here, but this was for setting the default language of the movie player by changing the Development Region: Localize Done button of MPMoviePlayerViewController
Any help will be appreciated.
Thanks,
DemonGyro
Edit: This may just be an issue with the simulator as the language switches fine on the iPad. Just need to get my hands on a iPhone to check that too...
Edit 2: Turns out it's just an issue with the simulator. Oh well, at least my problem is solved.
Turns out it's just an issue with the simulator. Oh well, at least my problem is solved.

Resources