Skip to content
Simple django app for unicode encoding and decoding of local languages.
Python HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
UA
main
.gitignore
Procfile
README.md
manage.py
requirements.txt

README.md

UA

Simple django app for unicode encoding and decoding of local languages.

Installation

pip install -r requirements.txt

Approach

Simple django app for unicode encoding and decoding of local languages. Input is taken from the user (Input can contain any vernacular language) A function is defined to validate the input email. Then a function is written to encode the input. Then the encoded input is stored in the database.

At the time of displaying the details of user. The user encoded data is taken from database and then decoded using idna and then displayed to user.

Libraries

  1. idna
  2. django

Target

To take vernacular language as input and accept and validate it. Then after validation store it in the database.

Implementation

Input is taken from the user (Input can contain any vernacular language) Then a function is written to encode the input.

Issues during project

The encoding of email input was showing error because of "@" symbol so we had to slice and then encode and then concatenate the string to store in database.

You can’t perform that action at this time.