Python Forum
things i am working on
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
things i am working on
#1
posted in the bar because this is the place for stuff nobody cares about.

stuff i am working on today, and probably this week:

0. a function to encode escape sequences: esencode(chr(13)+chr(10)) -> '\\r\\n'

1. a function to decode escape sequences: esdecode('\\r^J') -> '\r\n'

2. a function to convert Unicode characters/values to UTF-8.

3. a function to convert UTF-8, MUTF-8 and XUTF-8 code sequences to the represented code point values.

yeah, yeah, i know Python3 has the UTF-8 conversion available both ways. but my functions are more flexible (support more types and numeric values) and more extensive (includes MUTF-8 and XUTF-8). one advantage is that this, being coded in Python, gives you the opportunity to modify it. and all of these are being coded to work in both Python3 (at least 3.5.2) and Python2 (at least 2.7.12) .
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Setup of VSCode to run with Python: some things are messed up apollo 0 1,381 Jan-05-2022, 12:22 PM
Last Post: apollo
  what to order to get started with Odroid HC 2 NAS things apollo 1 2,393 Jul-02-2018, 07:57 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020