In Xiangyang, in some year near the end of the fourth century, a parcel arrived for the governor.
It had come from Qinzhou, a thousand li to the west. The man who carried it was old, and the histories do not say how long he had been on the road.
Inside was a piece of brocade, eight inches square, woven in five colours. Opened out, it was no wider than a hand.
It was covered in characters. Twenty nine rows, twenty nine to a row, packed tight. No sentence could be read out of it.
The governor, Dou Tao, looked at it for a long time and could not read it.
The old servant said: my lady says that wandering and turning, it makes its own text, and that no one outside her own household will be able to solve it.
Which meant: this was not written for strangers. If you can read it, you are still hers.
That night Dou Tao sat with a lamp and turned the cloth over and over, line by line.
The Wife of Qinzhou
First, who these two people were.
Su Hui, styled Ruolan, was from Shiping, in what is now Shaanxi. Her father held office. She read from childhood, and the one thing the official history says about her is that she was skilled at composition.
Dou Tao was from Fufeng and served the Former Qin as governor of Qinzhou. The Former Qin was a state founded by the Di people, with its capital at the old western capital, and at its height it controlled most of the north.
Qinzhou sat where the road west leaves the Wei valley, the first great city after the mountain pass. Caravans, monks and garrison troops all passed through it on the way to the Hexi corridor and on to the capital.
The History of the Jin gave her a biography in its section on virtuous women. The whole entry runs to a few dozen characters.
The wife of Dou Tao, of the Su family, was a native of Shiping, named Hui, styled Ruolan, and skilled at composition. When Tao was governor of Qinzhou under Fu Jian, he was transported to the desert. She thought of him, and wove a brocade of palindromic verse to send to him. Read backwards and forwards in a circle, the words are deeply sorrowful. It came to eight hundred and forty characters, and the text is too long to record.
Too long to record. The historian saved himself the trouble, and left the rest of us with a hole where the poem should be.
Transported to the desert meant exiled to Dunhuang, two thousand li west, months of travel. A man sent there kept his title and lost his post, which in that period amounted to being set aside.
Why a governor was exiled, the history does not say. Politics in the Former Qin changed hands quickly. Under Fu Jian, princes and officials were demoted, exiled or killed on the strength of a single sentence.
A governor of that rank kept a household of clerks, servants, weavers and cooks, with an official residence behind the office and a wall around the whole compound. When the head of that household was taken away under escort, everything stayed behind: the furniture, the seal, the staff, and the wife.
The husband went west. The wife stayed in Qinzhou.
The official account ends there: she missed him, she wove a brocade, she sent it.
Nothing about the reason for the exile. Nothing about what happened in between. Nothing about how it ended.
Eight Inches Square
Now the object itself.
Palindromic writing existed before her. An earlier example is the Plate Poem of the wife of Su Boyu, written in a spiral inside a dish, read from the centre outward. By her time, a five character poem that could also be read backwards was a recognised trick of the literary set.
Those were poems. Hers was a diagram.
A poem is a line: you read from one end to the other. A diagram is a plane: across, down, diagonally, spiralling, and every path has to arrive somewhere and make sense. The difference between the two is not talent. It is another dimension.
Twenty nine rows of twenty nine characters gives eight hundred and forty one cells. The Jin history counts eight hundred and forty characters. Later copies add a single character, heart, at the centre, because, the story goes, somebody felt the diagram was one character short of complete.
Eight hundred and forty or eight hundred and forty one, the problem is identical: which character goes in which cell. What the row reads as, what the column reads as, what the diagonal reads as, what it reads as upside down. All of it fixed before the first pass of the shuttle.
One character in the wrong place and the whole sheet is waste.
The colours were calculated too. Red from madder, yellow from gardenia, blue from indigo, black from gallnut, white uncoloured. Five colours in blocks, one block to a section, so that a reader can find the starting point by colour alone. Wu Zetian, describing the cloth two and a half centuries later, said the five colours set each other off and the eye was dazzled. She was not praising decoration. She was describing a structure you can see.
How many poems can be read out of it? Wu Zetian says more than two hundred. Later counts run to seven thousand, and some to nearly eight.
The numbers do not agree and do not need to. The readings are effectively endless: forward, backward, across, diagonally, interlaced, in a snake, one character back, one character repeated, every other phrase, turning left or right. Change the rule and you have another set of poems.
There is one more measure of what the object was worth. In the language of the period, the character for brocade was explained as sharing its root with the character for gold, because the labour in it was so heavy that its price was like gold.
Eight inches of five colour brocade was not a letter. It was a gift of state, the kind of thing a court sent to a neighbouring ruler.

A Design on the Loom
Here is the fair thing to say about it: the difficulty is not in the literary gift. It is in the craft.
Writing one palindrome is a game with words. Arranging eight hundred and forty characters into a sheet that reads in every direction is engineering.
She had to do three things at once.
First, fix the rhyme. Every direction has to end its lines on the same rhyme group, or the reading falls apart into noise.
Second, fix the sense. A character in any cell has to work from four directions. There is no room for filler. Each character must do the work of four.
Third, fix the colour. The five dyes divide the sheet into zones, and the zones are instructions to the reader.
Then the weaving. A drawloom of that period could do it, with pattern rods prepared in advance and lifted in sequence, but the pattern had to be planned to the cell before any thread went on. She sat at the loom with the shuttle in one hand and the heddles in the other and pushed the work forward inch by inch. At the speed of the time, eight hundred and forty characters meant months.
What months meant: winter comes early in Qinzhou, a charcoal brazier in the room, the sound of the loom from first light to dark. The neighbours heard it and knew that the wife of the Su house was weaving again. What she was weaving, nobody knew. The cloth stayed covered until the day it was finished.
And a mistake could not be corrected. You cannot unpick a finished pattern in a five colour warp without destroying the cloth. The diagram had to be right in her head before the first weft went through, and the proof only came at the end, when the whole sheet was cut from the loom and read in every direction.
The Man Who Carried It
The full story comes from Wu Zetian.
She wrote a record of the brocade, preserved in a Tang anthology. In her version there is much more than the official history allows.
Dou Tao was to take up a post at Xiangyang and asked his wife to come with him. Su Hui refused, because of a woman in the house named Zhao Yangtai.
Zhao Yangtai was a concubine who could sing and dance. Su Hui could not tolerate her; Dou Tao favoured her. This time Su Hui would not go.
So he went to his post with the concubine and cut off all letters.
Left in Qinzhou, Su Hui regretted it.
She wove the brocade and sent it with an old servant. From Qinzhou to Xiangyang is more than a thousand li, with the Qinling mountains in between. He took the post road, a few dozen li a day, and was nearly a month on the way, carrying eight inches of cloth and never letting it out of his hands.
Dou Tao read it, sent Zhao Yangtai back to the Guanzhong plain, prepared carriages, and brought his wife south with full ceremony. Their affection, the record says, was greater than before.
Wu Zetian was empress when she wrote this. At the end of the record she says that she is setting out Ruolan and her talent, and also praising the repentance of Dou Tao.
An empress speaking for the talent of a wife, and for the change of heart of a husband. It is a curious position to take, and she took it deliberately.
She also recorded what else Su Hui wrote: more than five thousand characters in all, scattered and lost in the disorder at the end of the Sui. By the Tang, the brocade was the only thing left.
Two Versions of the Story
The question is which version is true.
The History of the Jin was compiled in the Tang from earlier sources. It says only that the husband was exiled to the desert. No concubine. No Xiangyang. No reunion.
The record by Wu Zetian is later, fuller and much neater. It reads like a finished tale: conflict, sulking, regret, reconciliation.
Scholars generally treat the outline in the official history as reliable and the plot in the later record as embellished, especially the name Zhao Yangtai, which appears nowhere in the official histories.
But it is not all invention, for two reasons.
First, anecdote collections of the Tang and the Song carry the story in different versions with different details, which means it was widely told and had more than one source.
Second, Huang Tingjian, writing in the Song, addressed a poem to the brocade. A thousand poems woven into a figured cloth, he wrote, and what good did it do against that rain over the terrace. There is only one Su Hui in the world, and no repentant Dou Lianbo.
Lianbo was the courtesy name of Dou Tao. By the Song, the plot was fixed: the concubine, the refusal, the brocade, the repentance.
As for the eight hundred and forty characters themselves, nobody can read them all. Cloth does not last. Silk rots, dye fades, and three centuries is a long life for a piece of woven goods. By the time Wu Zetian wrote, the original was gone and she was working from copies.
What survives is a grid reconstructed by later hands, and the reconstructions do not match. Different editors place different characters in the same cell, which means that even the eight hundred and forty characters printed in modern books are an approximation, argued over for centuries.
In the Qing, the novelist Li Ruzhen gave a whole chapter of his book to decoding it. He broke the diagram into lines of three, four, five, six and seven characters, copied them out one by one, and filled the chapter with them, remarking that they ran to thousands. A novel spending a full chapter on a piece of cloth is a strange thing in the history of fiction, and it happened.
In Tianshui there is a lane called Weaving Brocade Lane.
The story says Su Hui wove the cloth somewhere near there. The name is still in use. The houses along it have been rebuilt dozens of times.
The brocade is gone. The loom is gone. Of the eight hundred and forty characters, only the shape of the grid is left.
What remains is the posture of a woman sitting at a loom for months.
Later ages put her on a short list with Cai Wenji, Xie Daoyun and Zuo Fen, the most gifted women of that era. The list was made by others, long after. Three of the four collections are lost.