henck / henck/rtf-html-php

Converting RTF portugues file

Open
#98 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
107
Forks
79
PR merge metrics
No merged PRs in 30d

Description

Hi all,
Are there any way to implement for portugues special caracter like ç, â ô õ ?
the word "RELAÇÃO" for examplo your code print as rela'e7'e3o any help to fix it?
if you know where I can add this characters in the code. only let me know where

Here um example

Format($document); file_put_contents('rtf.html', $r); //echo $r; ?>

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Document and HtmlFormatter usage shown in the issue and inspect tests/rtf/hello-world.rtf to understand the current handling of RTF character escapes. Run the provided PHP example and compare the generated HTML for characters such as ç, â, ô, and õ; done means those characters are emitted correctly rather than as escaped byte values.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.