Click here to Skip to main content
12,251,889 members (60,674 online)
   

ASP.NET

 
AnswerRe: DataList with Product Heads. Pin
Himanshu Yadav4-Dec-12 18:53
memberHimanshu Yadav4-Dec-12 18:53 
QuestionHI,how to do access sqlserver use windows domain user? Pin
xut24473-Dec-12 19:20
memberxut24473-Dec-12 19:20 
AnswerRe: HI,how to do access sqlserver use windows domain user? Pin
J4amieC3-Dec-12 22:24
memberJ4amieC3-Dec-12 22:24 
GeneralRe: HI,how to do access sqlserver use windows domain user? Pin
Andrew Stoute4-Dec-12 4:25
memberAndrew Stoute4-Dec-12 4:25 
Questionaspnet_wp process crash Pin
Kishore Hyd3-Dec-12 12:11
memberKishore Hyd3-Dec-12 12:11 
QuestionRe: aspnet_wp process crash Pin
ryanb315-Dec-12 4:36
memberryanb315-Dec-12 4:36 
JokeRe: aspnet_wp process crash Pin
jkirkerx5-Dec-12 17:27
memberjkirkerx5-Dec-12 17:27 
Questionexit from a masterpage Pin
juan manuel rdz3-Dec-12 8:01
memberjuan manuel rdz3-Dec-12 8:01 
GeneralRe: exit from a masterpage Pin
@AmitGajjar3-Dec-12 18:09
member@AmitGajjar3-Dec-12 18:09 
AnswerRe: exit from a masterpage Pin
Himanshu Yadav4-Dec-12 18:47
memberHimanshu Yadav4-Dec-12 18:47 
QuestionRe: exit from a masterpage Pin
ryanb315-Dec-12 4:37
memberryanb315-Dec-12 4:37 
QuestionGenerating proxy from Soap UI Pin
indian1433-Dec-12 7:43
memberindian1433-Dec-12 7:43 
AnswerRe: Generating proxy from Soap UI Pin
deflinek7-Dec-12 1:59
memberdeflinek7-Dec-12 1:59 
QuestionProblem sending arabic unicode SMS Pin
Jassim Rahma3-Dec-12 7:11
memberJassim Rahma3-Dec-12 7:11 
Hi,

I would like to ask what's the best way to send arabic unicode sms by email through Clickatell?

I am using this code but some of the characters are not showing properbly when the sms recieved:

private string ToUnicode(string val)
{
    Encoding utf8 = Encoding.UTF8;
    Encoding unicode = Encoding.Unicode;
 
    byte[] utf8Bytes = utf8.GetBytes(val);
 
    byte[] unicodeBytes = Encoding.Convert(utf8, unicode, utf8Bytes);
 
    var result = ByteArrayToString(unicodeBytes);
    result = result.Substring(result.Length - 2, 2) + result.Substring(0, result.Length - 2);
    return result;
}
 
public static string ByteArrayToString(byte[] ba)
{
    StringBuilder hex = new StringBuilder(ba.Length * 2);
    foreach (byte b in ba)
        hex.AppendFormat("{0:x2}", b);
    return hex.ToString();
}

www.JassimRahma.com[^]


Technology News @ www.JassimRahma.com


modified 3-Dec-12 13:29pm.

QuestionPostback issue Pin
rakeshs3123-Dec-12 2:57
memberrakeshs3123-Dec-12 2:57 
AnswerRe: Postback issue Pin
@AmitGajjar3-Dec-12 18:11
member@AmitGajjar3-Dec-12 18:11 
GeneralRe: Postback issue Pin
rakeshs3123-Dec-12 21:28
memberrakeshs3123-Dec-12 21:28 
GeneralRe: Postback issue Pin
n.podbielski4-Dec-12 8:38
membern.podbielski4-Dec-12 8:38 
GeneralRe: Postback issue Pin
@AmitGajjar4-Dec-12 15:20
member@AmitGajjar4-Dec-12 15:20 
GeneralRe: Postback issue Pin
n.podbielski4-Dec-12 20:29
membern.podbielski4-Dec-12 20:29 
GeneralRe: Postback issue Pin
@AmitGajjar4-Dec-12 20:46
member@AmitGajjar4-Dec-12 20:46 
GeneralRe: Postback issue Pin
n.podbielski4-Dec-12 20:59
membern.podbielski4-Dec-12 20:59 
GeneralRe: Postback issue Pin
@AmitGajjar4-Dec-12 21:19
member@AmitGajjar4-Dec-12 21:19 
GeneralRe: Postback issue Pin
n.podbielski4-Dec-12 23:45
membern.podbielski4-Dec-12 23:45 
AnswerRe: Postback issue Pin
CommDev8-Dec-12 23:15
memberCommDev8-Dec-12 23:15 
QuestionSQL query in c# Pin
AnirbanM 23-Dec-12 2:31
memberAnirbanM 23-Dec-12 2:31 
AnswerRe: SQL query in c# Pin
Richard MacCutchan3-Dec-12 2:36
mvpRichard MacCutchan3-Dec-12 2:36 
GeneralRe: SQL query in c# Pin
AnirbanM 23-Dec-12 2:47
memberAnirbanM 23-Dec-12 2:47 
GeneralRe: SQL query in c# Pin
Richard MacCutchan3-Dec-12 2:50
mvpRichard MacCutchan3-Dec-12 2:50 
GeneralRe: SQL query in c# Pin
AnirbanM 23-Dec-12 2:56
memberAnirbanM 23-Dec-12 2:56 
Questionstate management Pin
Member 80319152-Dec-12 23:12
memberMember 80319152-Dec-12 23:12 
AnswerRe: state management Pin
ThetaClear2-Dec-12 23:19
memberThetaClear2-Dec-12 23:19 
GeneralRe: state management Pin
Member 80319152-Dec-12 23:26
memberMember 80319152-Dec-12 23:26 
GeneralRe: state management Pin
ThetaClear2-Dec-12 23:37
memberThetaClear2-Dec-12 23:37 
GeneralRe: state management Pin
Member 80319152-Dec-12 23:48
memberMember 80319152-Dec-12 23:48 
GeneralRe: state management Pin
ThetaClear3-Dec-12 0:02
memberThetaClear3-Dec-12 0:02 
AnswerRe: state management Pin
@AmitGajjar3-Dec-12 18:15
member@AmitGajjar3-Dec-12 18:15 
QuestionGeneral understanding how facebook knows who is the user who is making a request for the 'code' parameter Pin
ThetaClear2-Dec-12 22:03
memberThetaClear2-Dec-12 22:03 
Question3 tier applications in ASP.NET Pin
DeepanjanNag2-Dec-12 10:54
memberDeepanjanNag2-Dec-12 10:54 
AnswerRe: 3 tier applications in ASP.NET Pin
deflinek3-Dec-12 2:26
memberdeflinek3-Dec-12 2:26 
AnswerRe: 3 tier applications in ASP.NET Pin
@AmitGajjar3-Dec-12 18:16
member@AmitGajjar3-Dec-12 18:16 
Questionselect an item in gridview Pin
ptvce2-Dec-12 1:56
memberptvce2-Dec-12 1:56 
AnswerRe: select an item in gridview Pin
CommDev3-Dec-12 4:41
memberCommDev3-Dec-12 4:41 
Questionpage life cycle in asp.net Pin
MD SAJID sajid2-Dec-12 1:42
memberMD SAJID sajid2-Dec-12 1:42 
AnswerRe: page life cycle in asp.net Pin
ThetaClear3-Dec-12 1:47
memberThetaClear3-Dec-12 1:47 
Questiondynamic MAsterType virtualPath Pin
jojoba20111-Dec-12 18:17
memberjojoba20111-Dec-12 18:17 
AnswerRe: dynamic MAsterType virtualPath Pin
deflinek3-Dec-12 2:40
memberdeflinek3-Dec-12 2:40 
QuestionRetrieving the COM class factory for component ... Access is denied Pin
Super_Developer30-Nov-12 20:50
memberSuper_Developer30-Nov-12 20:50 
GeneralRe: Retrieving the COM class factory for component ... Access is denied Pin
jkirkerx1-Dec-12 17:47
memberjkirkerx1-Dec-12 17:47 
GeneralRe: Retrieving the COM class factory for component ... Access is denied Pin
Super_Developer1-Dec-12 19:08
memberSuper_Developer1-Dec-12 19:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.160426.1 | Last Updated 5 May 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid