hebrew

RTL is on web page reverses numbers with a dash

大憨熊 提交于 2019-12-21 03:26:14
问题 When my website displays Hebrew text mixed with numbers, and there is a number with a dash in the middle, the number with the dash in the middle is displayed RTL. For example, with the text: רמה 4–0 , it should display 4-0 instead of 0-4 , since it is a numeral sequence, and the '4' precedes the '0'. However, on the browsers I checked, it displays the '0' before the '4'. Since this could occur any place in the system data is displayed, it would be much preferable to have a CSS solution that

How to handle mixed RTL & LTR languages in notifications?

落花浮王杯 提交于 2019-12-20 23:29:32
问题 Background Android 4.3 has added a lot of support for RTL (Right-To-Left) languages, such as Hebrew and Arabic. The problem Even though there is "textDirection", "layoutDirection" and "gravity", I can't find the equivalents for the notification builder, not even in the compatibility library. This means that if there are Hebrew and English words together, the order is wrong. For example (and I write in English for simplicity) : Instead of "X called Y" , you get "Y called X" (suppose "called"

remove Niqqud from string in javascript

左心房为你撑大大i 提交于 2019-12-20 02:41:29
问题 I have the exact problem described here: removing Hebrew "niqqud" using r Have been struggling to remove niqqud ( diacritical signs used to represent vowels or distinguish between alternative pronunciations of letters of the Hebrew alphabet). I have for instance this variable: sample1 <- "הֻסְמַק" And i cannot find effective way to remove the signs below the letters. But in my case i have to do this in javascript. Based of UTF-8 values table described here, I have tried this regex without

remove Niqqud from string in javascript

我怕爱的太早我们不能终老 提交于 2019-12-20 02:41:02
问题 I have the exact problem described here: removing Hebrew "niqqud" using r Have been struggling to remove niqqud ( diacritical signs used to represent vowels or distinguish between alternative pronunciations of letters of the Hebrew alphabet). I have for instance this variable: sample1 <- "הֻסְמַק" And i cannot find effective way to remove the signs below the letters. But in my case i have to do this in javascript. Based of UTF-8 values table described here, I have tried this regex without

How to allow right to left languages in Ruby on Rails 3

点点圈 提交于 2019-12-19 09:08:09
问题 I am interested in creating a website in Hebrew using Ruby on Rails 3. The problem is when I put Hebrew into my view I am told that it is not supported and I should add UTF-8. I've been working on this for a while and I Can't seem to find how to do this. I am also using Sqlite3 and I would like to save Hebrew strings there too. How would I achieve this? The error code I am given is: Your template was not saved as valid UTF-8. Please either specify UTF-8 as the encoding for your template in

Read non-english characters from http get request

孤街浪徒 提交于 2019-12-19 04:21:50
问题 I have a problem in getting Hebrew characters from a http get request. I'm getting squares characters like this: "[]" instead of the Hebrew characters. The English characters are Ok. This is my function: public String executeHttpGet(String urlString) throws Exception { BufferedReader in = null; try { HttpClient client = new DefaultHttpClient(); HttpGet request = new HttpGet(); request.setURI(new URI(urlString)); HttpResponse response = client.execute(request); in = new BufferedReader(new

Hebrew text showing rectangle in iOS on UIlabel?

佐手、 提交于 2019-12-19 03:58:33
问题 I have hebrew text and when I am showing on UILabel it showing some rectangle. please help. Actual Text :- בָּרוּךְ אַתָּה יְיָ, אֱלֹהֵֽינוּ מֶֽלֶךְ הָעוֹלָם, בּוֹרֵא פְּרִי הָעֵץ out put :- UPDATE :- I have created the UILabel Manually using storyboard xib and set font name and rectangles gone but when i using on programatically created UILabel it is not working.I double checked Font Name is fine .Any idea? Font is :- Arial Hebrew(family name) ArialHebrew-Bold (font name) ArialHebrew (font name) 回答1

Matplotlib: Writing right-to-left text (Hebrew, Arabic, etc.)

a 夏天 提交于 2019-12-18 14:34:38
问题 I'm trying to add some text to my plot which is RTL (in this case, Hebrew). After some work managed to get it to display the text, but it's displayed LTR (meaning, in the reverese order). I've dug into the reference and did extensive search online and nothing came up. An example for what I'm using: import matplotlib.pyplot as plt plt.text(0.5, 0.5, u'שלום כיתה א', name = 'Arial') plt.show() and it displays 'א התיכ םלוש'. In case you can't see the Hebrew, it's as if i'd input 'Hello', and the

Matplotlib: Writing right-to-left text (Hebrew, Arabic, etc.)

纵饮孤独 提交于 2019-12-18 14:34:34
问题 I'm trying to add some text to my plot which is RTL (in this case, Hebrew). After some work managed to get it to display the text, but it's displayed LTR (meaning, in the reverese order). I've dug into the reference and did extensive search online and nothing came up. An example for what I'm using: import matplotlib.pyplot as plt plt.text(0.5, 0.5, u'שלום כיתה א', name = 'Arial') plt.show() and it displays 'א התיכ םלוש'. In case you can't see the Hebrew, it's as if i'd input 'Hello', and the

Inserting hebrew values in SQL Server 2008

六月ゝ 毕业季﹏ 提交于 2019-12-18 09:48:10
问题 I've been trying to update a record with hebrew texy into a DB table, and it shown as "??????". Here's my command: UPDATE HebrewTbl SET HebrewVal = N'ראשונה' WHERE Id = 1 GO All solutions I found over the Internet ended up in adding that N in the beginning, but in my case the problem continues. Please advise. Thanks in advance 回答1: Copied from comment so question can be set to answered per suggestion of this post. Set your column to nvarchar and have the correct collation enabled to allow