Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > is PyCodec_Encode API able to change encoding fron UCS-2 to UCS-4

Reply
Thread Tools

is PyCodec_Encode API able to change encoding fron UCS-2 to UCS-4

 
 
rahul
Guest
Posts: n/a
 
      04-27-2009

is this generic API can be use to change ucs-2 to ucs-4
PyObject * PyCodec_Encode(
PyObject *object,
const char *encoding,
const char *errors
);

if yes than what is the format of denoting ucs-4, because i try to do
that but all times i got segmentation fault, i used "ucs-4-le" for
little endian system and "ucs-4-be" for big endian system to set
ucs-4 encoding.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
is PyCodec_Encode API able to change encoding fron UCS-2 to UCS-4 rahul Python 2 04-27-2009 07:32 PM
is PyCodec_Encode() API returns New reference or Borrowed reference rahul Python 1 04-21-2009 02:59 AM
Passing an integer aray fron a c func ss Java 1 06-22-2006 06:20 AM
Formatting output fron Helper Function in Template? Syntax? D. Shane Fowlkes ASP .Net 1 05-19-2005 06:40 PM
converting fron unsiged char to int Joseph Suprenant C++ 4 08-19-2003 10:55 PM



Advertisments