hebrew

Android setting with TextView for Hebrew text?

假装没事ソ 提交于 2019-12-27 12:07:02
问题 I am setting text in TextView from string resource. Normally, Hebrew works in Right-To-Left format. When I set a text, it sets the text Right-To-Left format in LG, Samsung, Sony Phone but in HTC it does not work. It works in Left-To-Right format in HTC. Even I set Gravity to the TextView in Java file. Text in TextView should be span according to the screen size. For example if it is 320 x 480 then it display in 4 lines but if it is Galaxy Tab then there may be 2 lines. Here is my Code snippet

Hebrew chars in C++ (cout<<char<<char;)

跟風遠走 提交于 2019-12-24 16:29:10
问题 I'm trying to work with hebrew chars in C++ , using Clion on mac. char notification[140]={"א"}; //this is ALEF the first letter of Hebrew ABC. for(int i=0; i < strlen(notification); i++) { cout << (int)notification[i] << endl; } //Here I want to see what is the ASCII code for this letter. the output for this for is : -41 -112 Though there is only 1 char entered. cout << char(-41) << char(-112) << endl; // this one gives me the output of the letter ALEF cout << char(-41) << char(-111) << endl;

Text direction with print or println in Swift for mixed text

风流意气都作罢 提交于 2019-12-24 12:43:35
问题 I am attempting to print a string with a hebrew character "א - aleph is a silent..." using println or print functions in Swift. The simple code below has an output with the first character printed right-to-left (RTL) and the rest of the text left-to-right (LTR). How can I change this so it is all printed LTR. Thanks in advance. var content:String="\u{05D0} - aleph is a silent consonant - however it is pronounced as a, o, e, i or u based on the vowel used." println(content) Output should be: א

c# read hebrew from text file

笑着哭i 提交于 2019-12-24 05:43:40
问题 I wrote a text file in the Hebrew language . When I present the contents of the file in C # I do not see what I wrote - I understand that it is tied to Unicode , but I do not really understand it . Help , anyone? string mymail = File.ReadAllText(@"C:\mail\mail.txt"); MessageBox.Show(mymail); This is the result : ��� ����� ��� �� ��������� ������� ���� �� ������ 回答1: Close your file and re-open it, make sure what you typed is actually persisted in your file. Using the default notepad app in

problem with hebrew - MySql, c#

无人久伴 提交于 2019-12-24 05:11:20
问题 i've problem to insert hebrew strings to MySql. Introduction I set the MySql to Utf8. I set the table as charset utf8 with collation uft8_general_ci I set the connection string as it: "Server= ;Database= ;Uid= ;Pwd= ; charset=utf8;" I write stored procedure for using it by c#. Version of MySql: 5.1.53 when i simply insert hebrew string to table by MySql as it : insert into temp_table (temp_column) values ('ערך') i saw as proper. if i set stored procedure as it..i see gibberish. when i call it

problem with hebrew - MySql, c#

狂风中的少年 提交于 2019-12-24 05:11:07
问题 i've problem to insert hebrew strings to MySql. Introduction I set the MySql to Utf8. I set the table as charset utf8 with collation uft8_general_ci I set the connection string as it: "Server= ;Database= ;Uid= ;Pwd= ; charset=utf8;" I write stored procedure for using it by c#. Version of MySql: 5.1.53 when i simply insert hebrew string to table by MySql as it : insert into temp_table (temp_column) values ('ערך') i saw as proper. if i set stored procedure as it..i see gibberish. when i call it

Java code reads UTF-8 text incorrectly

谁说我不能喝 提交于 2019-12-24 00:43:01
问题 I'm having a problem reading UTF-8 characters in my code (running on Eclipse). I have a file text which has a few lines in it, for example: אך 1234 NOTE : There is a \t before the word, and the word should appear on the left, the number on the right... I don't know how to reverse them here, sorry. That is, a Hebrew word and then a number. I need to separate the word from the number somehow. I tried this: BufferedReader br = new BufferedReader(new FileReader(text)); String content; while (

Using hebrew on python

为君一笑 提交于 2019-12-23 17:55:28
问题 I have a problem printing hebrew words. i am using the counter module in order to count number of words in my given text (which is in hebrew). the counter indeed counts the words, and identifies the language because i am using # -*- coding: utf-8 -*- The problem is, when i print my counter, i get weird symbols. (I am using eclipse) Here is the code and the printings: # -*- coding: utf-8 -*- import string from collections import Counter class classifier: def __init__(self,filename): self

Google map api for hebrew

心不动则不痛 提交于 2019-12-23 12:47:27
问题 I am developing google map application for Israeli but i have no idea that geocoding not found address location using hebrew name address. I am really need help what should i do to get that. Issue still exists that related with curl. Using browser i get response with Ok status for this : http://maps.google.com/maps/geo?q=%D7%94%D7%A8%D7%A6%D7%9C%2053%20%D7%A0%D7%AA%D7%A0%D7%99%D7%94%20%D7%99%D7%A9%D7%A8%D7%90%D7%9C&output=json&sensor=true But using curl google response with Bad Request.

NSDate hebrew date label

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-23 02:18:35
问题 I make label with the date for today but I need hebrew date for today. this my code NSDate *today = [NSDate date]; NSDateFormatter *dateFormat = [[NSDateFormatter alloc] init]; [dateFormat setDateStyle:NSDateFormatterShortStyle]; NSString *dateString = [dateFormat stringFromDate:today]; [_label setText:dateString]; I not build calendar this label with date for today. Thanks! 回答1: Assuming the user's current locale is not set for Hebrew, then you need to ensure the date formatter's locale is